import { t as SelectStore } from "../select-store-C8tHSVWh.js";
import { Dispatch, SetStateAction } from "react";
//#region src/select/select-context.d.ts
/**
 * Returns the select store from the nearest select container.
 * @deprecated Use
 * [`useComboboxContext`](https://ariakit.com/reference/use-combobox-context)
 * instead.
 * @example
 * function Select() {
 *   const store = useSelectContext();
 *
 *   if (!store) {
 *     throw new Error("Select must be wrapped in SelectProvider");
 *   }
 *
 *   // Use the store...
 * }
 */
declare const useSelectContext: () => SelectStore<import("@ariakit/components/select/select-store").SelectStoreValue> | undefined;
/** @deprecated Use `useComboboxScopedContext` instead. */
declare const useSelectScopedContext: (onlyScoped?: boolean) => SelectStore<import("@ariakit/components/select/select-store").SelectStoreValue> | undefined;
/** @deprecated Use `useComboboxProviderContext` instead. */
declare const useSelectProviderContext: () => SelectStore<import("@ariakit/components/select/select-store").SelectStoreValue> | undefined;
/** @deprecated Use `ComboboxContextProvider` instead. */
declare const SelectContextProvider: (props: import("react").ProviderProps<SelectStore<import("@ariakit/components/select/select-store").SelectStoreValue> | undefined>) => import("react").JSX.Element;
/** @deprecated Use `ComboboxScopedContextProvider` instead. */
declare const SelectScopedContextProvider: (props: import("react").ProviderProps<SelectStore<import("@ariakit/components/select/select-store").SelectStoreValue> | undefined>) => import("react").JSX.Element;
/** @deprecated Use `ComboboxItemCheckedContext` instead. */
declare const SelectItemCheckedContext: import("react").Context<boolean>;
/** @deprecated Use `ComboboxHeadingContext` instead. */
declare const SelectHeadingContext: import("react").Context<[string | undefined, Dispatch<SetStateAction<string | undefined>>] | null>;
//#endregion
export { SelectContextProvider, SelectHeadingContext, SelectItemCheckedContext, SelectScopedContextProvider, useSelectContext, useSelectProviderContext, useSelectScopedContext };
//# sourceMappingURL=select-context.d.ts.map