import { t as ComboboxStore } from "../combobox-store-FilGAecN.js";
import { n as PopoverHeadingOptions } from "../popover-heading-4shDH4ZF.js";
import { Props } from "@ariakit/react-utils";
import { ElementType } from "react";
//#region src/combobox/combobox-heading.d.ts
declare const TagName = "h1";
type TagName = typeof TagName;
/**
 * Returns props to create a `ComboboxHeading` component.
 * @see https://ariakit.com/components/combobox
 */
declare const useComboboxHeading: import("@ariakit/react-utils").Hook<"h1", ComboboxHeadingOptions<"h1">>;
/**
 * Renders a heading element that labels
 * [`ComboboxPopover`](https://ariakit.com/reference/combobox-popover) and
 * [`ComboboxList`](https://ariakit.com/reference/combobox-list) components.
 * @example
 * ```jsx {4}
 * <ComboboxProvider>
 *   <ComboboxSelect />
 *   <ComboboxPopover>
 *     <ComboboxHeading>Fruits</ComboboxHeading>
 *     <ComboboxList>
 *       <ComboboxItem value="Apple" />
 *       <ComboboxItem value="Orange" />
 *     </ComboboxList>
 *   </ComboboxPopover>
 * </ComboboxProvider>
 * ```
 * @see https://ariakit.com/components/combobox
 */
declare const ComboboxHeading: (props: ComboboxHeadingProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
interface ComboboxHeadingOptions<T extends ElementType = TagName> extends PopoverHeadingOptions<T> {
  /**
   * Object returned by the
   * [`useComboboxStore`](https://ariakit.com/reference/use-combobox-store)
   * hook.
   *
   * **Note**: This prop has no effect on this component. The heading is linked
   * to the closest [`ComboboxList`](https://ariakit.com/reference/combobox-list)
   * or
   * [`ComboboxPopover`](https://ariakit.com/reference/combobox-popover)
   * component through React context.
   */
  store?: ComboboxStore;
}
type ComboboxHeadingProps<T extends ElementType = TagName> = Props<T, ComboboxHeadingOptions<T>>;
//#endregion
export { ComboboxHeading, ComboboxHeadingOptions, ComboboxHeadingProps, useComboboxHeading };
//# sourceMappingURL=combobox-heading.d.ts.map