import { PropType } from 'vue'; import { Icon } from '@wikimedia/codex-icons'; /** * Describes the information requested by a given form field. */ declare const _default: import("vue").DefineComponent; default: null; }; /** * Whether the field is optional. * * This will add a flag next to the label indicating that the field is optional. */ optional: { type: BooleanConstructor; default: boolean; }; /** * Text to indicate that the field is optional. * * Omit this prop to use the default value, "(optional)". */ optionalFlag: { type: StringConstructor; default: string; validator: (value: string, props: { [x: string]: unknown; }) => boolean; }; /** * Whether the label should be visually hidden. */ visuallyHidden: { type: BooleanConstructor; default: boolean; }; /** * Whether this component should output a `` element. * * Always set this to true when this component is used inside a `
` element. Do not * set it to true otherwise. */ isLegend: { type: BooleanConstructor; default: boolean; }; /** * The ID of the input/control this label is for. * * Will be added as the `for` attribute of the `