import type { ForwardRefComponent } from '@fluentui/react-utilities'; import { JSXElement } from '@fluentui/react-utilities'; import type { LabelBaseProps } from '@fluentui/react-label'; import { LabelBaseState } from '@fluentui/react-label'; import type { LabelSlots as LabelSlots_2 } from '@fluentui/react-label'; import type * as React_2 from 'react'; /** * A label component that associates text with form elements. */ export declare const Label: ForwardRefComponent; /** * Label component props */ export declare type LabelProps = LabelBaseProps; /** * Label component slots */ export declare type LabelSlots = LabelSlots_2; /** * Label component state */ export declare type LabelState = LabelBaseState & { root: { /** * Data attribute set when the label is disabled. */ 'data-disabled'?: string; /** * Data attribute set when the required indicator is rendered. */ 'data-required'?: string; }; }; /** * Renders the final JSX of the Label component, given the state. */ export declare const renderLabel: (state: LabelBaseState) => JSXElement; /** * Returns the state for a Label component, given its props and ref. * The returned state can be modified with hooks before being passed to `renderLabel`. */ export declare const useLabel: (props: LabelProps, ref: React_2.Ref) => LabelState; export { }