import { PropType } from 'vue'; import { Icon } from '@wikimedia/codex-icons'; import { ValidationStatusType, ValidationMessages } from '../../types'; /** * Form field with a label, an input or control, and an optional validation message. */ declare const _default: import("vue").DefineComponent; default: string; }; /** * 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. * * Note that this will also hide the description. */ hideLabel: { type: BooleanConstructor; default: boolean; }; /** * Whether this field contains a group of inputs. * * When true, this outputs a `
` element with a semantic ``. When false, * it outputs a `
` with a semantic `