import React, { type ReactNode } from 'react'; import type { Size } from '../../util/variant-types'; export type FieldLabelProps = { /** * Text to render in label. */ children: ReactNode; /** * ID of the element */ id?: string; /** * Additional classnames passed in for styling. */ className?: string; /** * ID of input that label is associated with. */ htmlFor?: string; /** * Indicates disabled state of the input. */ disabled?: boolean; /** * Size of the label. * * **Default is `"lg"`**. */ size?: Extract; }; /** * `import {FieldLabel} from "@chanzuckerberg/eds";` * * Label associated with an input element or field. */ export declare const FieldLabel: React.ForwardRefExoticComponent>;