import { ReactNode } from 'react'; export interface LabelProps { id: string; required?: boolean; /** default behaviour is to add 'optional' to label, set to prevent */ hideOptionalSuffix?: boolean; /** set if label is also intended to be a page heading */ isPageHeading?: boolean; children?: ReactNode; classBlock?: string; classModifiers?: string | string[] | null; className?: string; } export declare const OPTIONAL_SUFFIX = " (optional)"; export declare const DEFAULT_CLASS = "govuk-label"; /** A label for a form field. Refer to [GDS Making Labels and Legends Headings](https://design-system.service.gov.uk/get-started/labels-legends-headings/) * */ export declare const Label: ({ children, id, required, hideOptionalSuffix, isPageHeading, classBlock, classModifiers, className, ...attrs }: LabelProps) => import("react/jsx-runtime").JSX.Element;