import { ThemeInputVariantType } from "../../type/variant"; /** * @slot - Add one `mds-input` or `mds-input-date`: the field names it with `label` and shows its * validation errors in `message`. Another control, a native `` among them, gets the name * but no validation messages. * @part content - The wrapper of the default slot, above the message * @category forms */ export declare class MdsInputField { private slotInput; private appliedName?; host: HTMLMdsInputFieldElement; private handleValidation; private readonly nameSlottedControls; componentDidLoad(): void; /** * Display a text on the top of the input text field */ label?: string; labelChanged(): void; /** * Display a message at the bottom of the input text field */ message?: string; /** * An icon before the label, in the colour of the variant: the state the message tells, seen at a * glance (a verdict on the value, a check passed). Decorative: the message says the state in * words, and the label stays the name of the control */ readonly icon?: string; /** * States that the answer of the field is short, such as a house number, a postcode, a tax code * or a date: in a `field-group` the field takes half the column, and two short fields in a row * share it (#1189, widths/field). The group lays it out; on its own the field keeps its width */ readonly short?: boolean; /** * Display the variant of a message at the bottom of the input text field */ variant?: ThemeInputVariantType; render(): any; }