import { Options, Props } from "@ariakit/react-utils";
import { ElementType } from "react";
//#region src/group/group-label.d.ts
declare const TagName = "div";
type TagName = typeof TagName;
/**
 * Returns props to create a `GroupLabel` component. This hook must be used in a
 * component that's wrapped with `Group` so the `aria-labelledby` prop is
 * properly set on the group element.
 * @see https://ariakit.com/components/group
 * @example
 * ```jsx
 * // This component must be wrapped with Group
 * const props = useGroupLabel();
 * <Role {...props}>Label</Role>
 * ```
 */
declare const useGroupLabel: import("@ariakit/react-utils").Hook<"div", GroupLabelOptions<"div">>;
/**
 * Renders a label in a group. This component should be wrapped with a
 * [`Group`](https://ariakit.com/reference/group) so the `aria-labelledby`
 * prop is correctly set on the group element.
 * @see https://ariakit.com/components/group
 * @example
 * ```jsx
 * <Group>
 *   <GroupLabel>Label</GroupLabel>
 * </Group>
 * ```
 */
declare const GroupLabel: (props: GroupLabelProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
interface GroupLabelOptions<_T extends ElementType = TagName> extends Options {}
type GroupLabelProps<T extends ElementType = TagName> = Props<T, GroupLabelOptions<T>>;
//#endregion
export { useGroupLabel as i, GroupLabelOptions as n, GroupLabelProps as r, GroupLabel as t };
//# sourceMappingURL=group-label-D2fygdhj.d.ts.map