import { t as DisclosureStore } from "./disclosure-store-DsqFEX-x.js";
import { a as PopoverStoreState, n as PopoverStoreFunctions, r as PopoverStoreOptions } from "./popover-store-BJQhU0yZ.js";
import { i as CompositeStoreOptions, n as CompositeStoreFunctions, o as CompositeStoreState } from "./composite-store-9jZQUYDt.js";
import { t as ComboboxStore } from "./combobox-store-FilGAecN.js";
import { BivariantCallback, PickRequired } from "@ariakit/utils";
import { Store } from "@ariakit/react-store";
import * as Core from "@ariakit/components/select/select-store";
//#region src/select/select-store.d.ts
/** @deprecated Use `useComboboxStoreOptions` instead. */
declare function useSelectStoreOptions<T extends Core.SelectStoreOptions>(props: T): {
  id: string | undefined;
} & T;
/** @deprecated Use `useComboboxStoreProps` instead. */
declare function useSelectStoreProps<T extends Core.SelectStore>(store: T, update: () => void, props: SelectStoreProps): T & {
  disclosure: DisclosureStore | null | undefined;
} & {
  combobox: ComboboxStore<import("@ariakit/components/combobox/combobox-store").ComboboxStoreSelectedValue> | null | undefined;
};
/**
 * Creates a select store to control the state of
 * [Select](https://ariakit.com/components/select) components.
 * @deprecated Use
 * [`useComboboxStore`](https://ariakit.com/reference/use-combobox-store)
 * instead.
 * @see https://ariakit.com/components/select
 * @example
 * ```jsx
 * const select = useSelectStore({ defaultValue: "Apple" });
 *
 * <Select store={select} />
 * <SelectPopover store={select}>
 *   <SelectItem value="Apple" />
 *   <SelectItem value="Orange" />
 * </SelectPopover>
 * ```
 */
declare function useSelectStore<T extends SelectStoreValue = SelectStoreValue>(props: PickRequired<SelectStoreProps<T>, "value" | "defaultValue">): SelectStore<T>;
/** @deprecated Use `useComboboxStore` instead. */
declare function useSelectStore(props?: SelectStoreProps): SelectStore;
/** @deprecated Use `ComboboxStoreSelectedValue` instead. */
type SelectStoreValue = Core.SelectStoreValue;
/** @deprecated Use `ComboboxStoreItem` instead. */
interface SelectStoreItem extends Core.SelectStoreItem {}
/** @deprecated Use `ComboboxStoreState` instead. */
interface SelectStoreState<T extends SelectStoreValue = SelectStoreValue> extends Core.SelectStoreState<T>, CompositeStoreState<SelectStoreItem>, PopoverStoreState {}
/** @deprecated Use `ComboboxStoreFunctions` instead. */
interface SelectStoreFunctions<T extends SelectStoreValue = SelectStoreValue> extends Pick<SelectStoreOptions<T>, "combobox" | "disclosure">, Omit<Core.SelectStoreFunctions<T>, "combobox" | "disclosure">, CompositeStoreFunctions<SelectStoreItem>, PopoverStoreFunctions {}
/** @deprecated Use `ComboboxStoreOptions` instead. */
interface SelectStoreOptions<T extends SelectStoreValue = SelectStoreValue> extends Omit<Core.SelectStoreOptions<T>, "combobox" | "disclosure">, CompositeStoreOptions<SelectStoreItem>, PopoverStoreOptions {
  /**
   * Function that will be called when the
   * [`value`](https://ariakit.com/reference/select-provider#value) state
   * changes.
   */
  setValue?: BivariantCallback<(value: SelectStoreState<T>["value"]) => void>;
  /**
   * A reference to a [combobox
   * store](https://ariakit.com/reference/use-combobox-store). It's
   * automatically set when composing Select with Combobox.
   */
  combobox?: ComboboxStore | null;
}
/** @deprecated Use `ComboboxStoreProps` instead. */
interface SelectStoreProps<T extends SelectStoreValue = SelectStoreValue> extends SelectStoreOptions<T>, Omit<Core.SelectStoreProps<T>, "combobox" | "disclosure"> {}
/** @deprecated Use `ComboboxStore` instead. */
interface SelectStore<T extends SelectStoreValue = SelectStoreValue> extends SelectStoreFunctions<T>, Omit<Store<Core.SelectStore<T>>, "combobox" | "disclosure"> {}
//#endregion
export { SelectStoreProps as a, useSelectStore as c, SelectStoreOptions as i, useSelectStoreOptions as l, SelectStoreFunctions as n, SelectStoreState as o, SelectStoreItem as r, SelectStoreValue as s, SelectStore as t, useSelectStoreProps as u };
//# sourceMappingURL=select-store-C8tHSVWh.d.ts.map