import { CompositeGroupLabelOptions } from "../composite/composite-group-label.js";
import { t as SelectStore } from "../select-store-C8tHSVWh.js";
import { Props } from "@ariakit/react-utils";
import { ElementType } from "react";
//#region src/select/select-group-label.d.ts
declare const TagName = "div";
type TagName = typeof TagName;
/**
 * Returns props to create a `SelectGroupLabel` component. This hook must be
 * used in a component that's wrapped with `SelectGroup` so the
 * `aria-labelledby` prop is properly set on the select group element.
 * @deprecated Use `useComboboxGroupLabel` instead.
 * @see https://ariakit.com/components/select
 * @example
 * ```jsx
 * // This component must be wrapped with SelectGroup
 * const props = useSelectGroupLabel();
 * <Role {...props}>Label</Role>
 * ```
 */
declare const useSelectGroupLabel: import("@ariakit/react-utils").Hook<"div", SelectGroupLabelOptions<"div">>;
/**
 * Renders a label in a select group. This component must be wrapped with
 * [`SelectGroup`](https://ariakit.com/reference/select-group) so the
 * `aria-labelledby` prop is properly set on the select group element.
 * @deprecated Use
 * [`ComboboxGroupLabel`](https://ariakit.com/reference/combobox-group-label)
 * instead.
 * @see https://ariakit.com/components/select
 * @example
 * ```jsx {5,10}
 * <SelectProvider>
 *   <Select />
 *   <SelectPopover>
 *     <SelectGroup>
 *       <SelectGroupLabel>Fruits</SelectGroupLabel>
 *       <SelectItem value="Apple" />
 *       <SelectItem value="Orange" />
 *     </SelectGroup>
 *     <SelectGroup>
 *       <SelectGroupLabel>Meat</SelectGroupLabel>
 *       <SelectItem value="Beef" />
 *       <SelectItem value="Chicken" />
 *     </SelectGroup>
 *   </SelectPopover>
 * </SelectProvider>
 * ```
 */
declare const SelectGroupLabel: (props: SelectGroupLabelProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
/** @deprecated Use `ComboboxGroupLabelOptions` instead. */
interface SelectGroupLabelOptions<T extends ElementType = TagName> extends CompositeGroupLabelOptions<T> {
  /**
   * Object returned by the
   * [`useSelectStore`](https://ariakit.com/reference/use-select-store) hook. If
   * not provided, the parent
   * [`SelectList`](https://ariakit.com/reference/select-list) or
   * [`SelectPopover`](https://ariakit.com/reference/select-popover) components'
   * context will be used.
   */
  store?: SelectStore;
}
/** @deprecated Use `ComboboxGroupLabelProps` instead. */
type SelectGroupLabelProps<T extends ElementType = TagName> = Props<T, SelectGroupLabelOptions<T>>;
//#endregion
export { SelectGroupLabel, SelectGroupLabelOptions, SelectGroupLabelProps, useSelectGroupLabel };
//# sourceMappingURL=select-group-label.d.ts.map