import type { SlottableInput as FluentSlottableInput } from "@fluentui/web-components"; import type { ValuesOf } from "../../util/typings.js"; /** * Label position values exposed by {@link Field}. */ export declare const LabelPositions: { readonly above: "above"; readonly after: "after"; readonly before: "before"; }; /** * Label position type exposed by {@link Field}. */ export type LabelPosition = ValuesOf; /** * Back-compat aliases preserving the Field-prefixed naming used previously. */ export declare const FieldLabelPositions: { readonly above: "above"; readonly after: "after"; readonly before: "before"; }; export declare const FieldLabelPosition: { readonly above: "above"; readonly after: "after"; readonly before: "before"; }; export type FieldLabelPosition = LabelPosition; /** * Validation state flags surfaced by {@link Field}. */ export declare const ValidationFlags: { readonly badInput: "bad-input"; readonly customError: "custom-error"; readonly patternMismatch: "pattern-mismatch"; readonly rangeOverflow: "range-overflow"; readonly rangeUnderflow: "range-underflow"; readonly stepMismatch: "step-mismatch"; readonly tooLong: "too-long"; readonly tooShort: "too-short"; readonly typeMismatch: "type-mismatch"; readonly valueMissing: "value-missing"; readonly valid: "valid"; }; /** * Validation flag type for {@link Field}. */ export type ValidationFlag = ValuesOf; export type ValidationFlags = ValidationFlag; /** * Synthetic entry describing the structural requirements for slotted inputs. * Provides a plural const so option-normalization rules can derive {@link SlottableInput}. */ export declare const SlottableInputs: { readonly structural: FluentSlottableInput; }; /** * Structural type for elements assigned to the `input` slot. */ export type SlottableInput = ValuesOf; //# sourceMappingURL=field.options.d.ts.map