import type { ElementType } from "react"; import type { Options, Props } from "../utils/types.ts"; import type { ComboboxStore } from "./combobox-store.ts"; declare const TagName = "label"; type TagName = typeof TagName; /** * Returns props to create a `ComboboxLabel` component. * @see https://ariakit.com/components/combobox * @example * ```jsx * const store = useComboboxStore(); * const props = useComboboxLabel({ store }); * Favorite fruit * * ``` */ export declare const useComboboxLabel: import("../utils/types.ts").Hook<"label", ComboboxLabelOptions<"label">>; /** * Renders a label for the [`Combobox`](https://ariakit.com/reference/combobox) * component. * @see https://ariakit.com/components/combobox * @example * ```jsx {2} * * Favorite fruit * * * * * * * ``` */ export declare const ComboboxLabel: (props: ComboboxLabelProps) => import("react").ReactElement>; export interface ComboboxLabelOptions<_T extends ElementType = TagName> extends Options { /** * Object returned by the * [`useComboboxStore`](https://ariakit.com/reference/use-combobox-store) * hook. If not provided, the closest * [`ComboboxProvider`](https://ariakit.com/reference/combobox-provider) * component's context will be used. */ store?: ComboboxStore; } export type ComboboxLabelProps = Props>; export {};