import type { ReactNode, Ref } from 'react'; import type { BaseProps, ForwardRefForwardPropsComponent } from '../../types'; export interface LabelProps extends BaseProps { /** * Id for the label. * @default undefined */ id?: string; /** * HTML tag to render the label as. * @default 'label' */ as?: 'label' | 'div' | 'span'; /** Use to associate with a form-element's id. */ htmlFor?: string; /** * Visually hides the label. * @default false */ labelHidden?: boolean; /** Render the label inline. */ inline?: boolean; /** Content/text for the label. */ children: ReactNode; /** Ref for the wrapping element. */ ref?: Ref; } export declare const StyledLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute, HTMLLabelElement>, Pick>> & string; declare const Label: ForwardRefForwardPropsComponent; export default Label; //# sourceMappingURL=Label.d.ts.map