/** * @license EUPL-1.2+ * Copyright (c) 2021 Robbert Broersma * Copyright Gemeente Amsterdam */ import type { LabelHTMLAttributes, PropsWithChildren } from 'react'; import type { HintProps } from '../Hint'; export type LabelProps = { /** * Whether the label is nested inside a fieldset. * This will show the label in a lighter style. */ readonly inFieldSet?: boolean; /** * Render a level 1 heading around the label. * Set this if the Field is the only content of the page. */ readonly isPageHeading?: boolean; } & HintProps & Readonly>>; /** * Describes a form control. * * @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-label--docs Label docs at Amsterdam Design System} */ export declare const Label: import("react").ForwardRefExoticComponent<{ /** * Whether the label is nested inside a fieldset. * This will show the label in a lighter style. */ readonly inFieldSet?: boolean; /** * Render a level 1 heading around the label. * Set this if the Field is the only content of the page. */ readonly isPageHeading?: boolean; } & Readonly<{ readonly hint?: string; readonly inFieldSet?: boolean; readonly optional?: boolean; }> & Readonly>> & Readonly>> & import("react").RefAttributes>;