import type { ElementType } from "react"; import type { DialogDisclosureOptions } from "../dialog/dialog-disclosure.tsx"; import type { Props } from "../utils/types.ts"; import type { ComboboxStore } from "./combobox-store.ts"; declare const TagName = "button"; type TagName = typeof TagName; /** * Returns props to create a `ComboboxDisclosure` component that toggles the * combobox popover visibility when clicked. * @see https://ariakit.com/components/combobox * @example * ```jsx * const store = useComboboxStore(); * const props = useComboboxDisclosure({ store }); * * * * * * * * ``` */ export declare const useComboboxDisclosure: import("../utils/types.ts").Hook<"button", ComboboxDisclosureOptions<"button">>; /** * Renders a combobox disclosure button that toggles the * [`ComboboxPopover`](https://ariakit.com/reference/combobox-popover) element's * visibility when clicked. * * Although this button is not tabbable, it remains accessible to screen reader * users. On clicking, it automatically shifts focus to the * [`Combobox`](https://ariakit.com/reference/combobox) element. * @see https://ariakit.com/components/combobox * @example * ```jsx {3} * * * * * * * * * * ``` */ export declare const ComboboxDisclosure: (props: ComboboxDisclosureProps) => import("react").ReactElement>; export interface ComboboxDisclosureOptions extends DialogDisclosureOptions { /** * 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 ComboboxDisclosureProps = Props>; export {};