import { t as ComboboxStore } from "../combobox-store-FilGAecN.js";
import { PopoverDisclosureOptions } from "../popover/popover-disclosure.js";
import { Props } from "@ariakit/react-utils";
import { ElementType } from "react";
//#region src/combobox/combobox-disclosure.d.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 });
 * <Combobox store={store} />
 * <Role {...props} />
 * <ComboboxPopover store={store}>
 *   <ComboboxItem value="Item 1" />
 *   <ComboboxItem value="Item 2" />
 *   <ComboboxItem value="Item 3" />
 * </ComboboxPopover>
 * ```
 */
declare const useComboboxDisclosure: import("@ariakit/react-utils").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}
 * <ComboboxProvider>
 *   <Combobox />
 *   <ComboboxDisclosure />
 *   <ComboboxPopover>
 *     <ComboboxItem value="Apple" />
 *     <ComboboxItem value="Banana" />
 *     <ComboboxItem value="Orange" />
 *   </ComboboxPopover>
 * </ComboboxProvider>
 * ```
 */
declare const ComboboxDisclosure: (props: ComboboxDisclosureProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
interface ComboboxDisclosureOptions<T extends ElementType = TagName> extends PopoverDisclosureOptions<T> {
  /**
   * 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;
}
type ComboboxDisclosureProps<T extends ElementType = TagName> = Props<T, ComboboxDisclosureOptions<T>>;
//#endregion
export { ComboboxDisclosure, ComboboxDisclosureOptions, ComboboxDisclosureProps, useComboboxDisclosure };
//# sourceMappingURL=combobox-disclosure.d.ts.map