"use client";
import {
  useCompositeStoreProps
} from "./IQYAUKXT.js";
import {
  useStore,
  useStoreProps
} from "./Q5W46E73.js";

// src/tag/tag-store.ts
import * as Core from "@ariakit/core/tag/tag-store";
function useTagStoreProps(store, update, props) {
  useStoreProps(store, props, "value", "setValue");
  useStoreProps(store, props, "values", "setValues");
  return useCompositeStoreProps(store, update, props);
}
function useTagStore(props = {}) {
  const [store, update] = useStore(Core.createTagStore, props);
  return useTagStoreProps(store, update, props);
}

export {
  useTagStoreProps,
  useTagStore
};
