import type { StaticLabel } from '../../config/types.js'; import type { Field } from '../../fields/config/types.js'; import type { ClientFieldWithOptionalType, ServerComponentProps } from './Field.js'; export type GenericLabelProps = { readonly as?: 'h3' | 'label' | 'span'; readonly hideLocale?: boolean; readonly htmlFor?: string; readonly label?: StaticLabel; readonly localized?: boolean; readonly path?: string; readonly required?: boolean; readonly unstyled?: boolean; }; export type FieldLabelClientProps = Partial> = { field?: TFieldClient; } & GenericLabelProps; export type FieldLabelServerProps = { clientField: TFieldClient; readonly field: TFieldServer; } & GenericLabelProps & ServerComponentProps; export type SanitizedLabelProps = Omit, 'label' | 'required'>; export type FieldLabelClientComponent = React.ComponentType>; export type FieldLabelServerComponent = React.ComponentType>; //# sourceMappingURL=Label.d.ts.map