import type { As, Options, Props } from "../utils/types.js";
/**
 * 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.org/components/group
 * @example
 * ```jsx
 * // This component must be wrapped with Group
 * const props = useGroupLabel();
 * <Role {...props}>Label</Role>
 * ```
 */
export declare const useGroupLabel: import("../utils/types.js").Hook<GroupLabelOptions<"div">>;
/**
 * Renders a label in a group. This component must be wrapped with `Group` so
 * the `aria-labelledby` prop is properly set on the group element.
 * @see https://ariakit.org/components/group
 * @example
 * ```jsx
 * <Group>
 *   <GroupLabel>Label</GroupLabel>
 * </Group>
 * ```
 */
export declare const GroupLabel: import("../utils/types.js").Component<GroupLabelOptions<"div">>;
export type GroupLabelOptions<T extends As = "div"> = Options<T>;
export type GroupLabelProps<T extends As = "div"> = Props<GroupLabelOptions<T>>;
