import { default as React } from 'react'; export type GroupLabelProps = { id?: string; asChild?: false; } & (AsChildProps | H2Props | H3Props | H4Props | H5Props | H6Props); type AsChildProps = { /** * If `true`, the children element will be cloned and used instead of the heading element. */ asChild: true; as?: never; } & React.ComponentPropsWithoutRef<'h1'>; type H2Props = { as?: 'h2'; asChild?: false; } & React.ComponentPropsWithoutRef<'h2'>; type H3Props = { as?: 'h3'; asChild?: false; } & React.ComponentPropsWithoutRef<'h3'>; type H4Props = { as?: 'h4'; asChild?: false; } & React.ComponentPropsWithoutRef<'h4'>; type H5Props = { as?: 'h5'; asChild?: false; } & React.ComponentPropsWithoutRef<'h5'>; type H6Props = { as?: 'h6'; asChild?: false; } & React.ComponentPropsWithoutRef<'h6'>; /** Label for the radio group */ export declare const GroupLabel: React.ForwardRefExoticComponent<(({ id?: string; asChild?: false; } & { as?: "h2"; asChild?: false; } & Omit, HTMLHeadingElement>, "ref">) | ({ id?: string; asChild?: false; } & { as?: "h3"; asChild?: false; } & Omit, HTMLHeadingElement>, "ref">) | ({ id?: string; asChild?: false; } & { as?: "h4"; asChild?: false; } & Omit, HTMLHeadingElement>, "ref">) | ({ id?: string; asChild?: false; } & { as?: "h5"; asChild?: false; } & Omit, HTMLHeadingElement>, "ref">) | ({ id?: string; asChild?: false; } & { as?: "h6"; asChild?: false; } & Omit, HTMLHeadingElement>, "ref">)) & React.RefAttributes>; export {};