export type FieldAttributeTarget = 'checkbox' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'number' | 'password' | 'radio' | 'search-select' | 'select' | 'text' | 'textarea' | 'time'; /** * Validates that every requested native control attribute is allowlisted. * * @param attributes - Requested attribute names and values. * @throws EditorConfigurationError when an attribute is not allowlisted. */ export declare function assertAllowedFieldAttributes(attributes: Readonly> | undefined, target: FieldAttributeTarget): void; /** * Applies only explicitly allowlisted native control attributes. * * @param control - Consumer-independent field control. * @param attributes - Requested attribute names and values. * @throws EditorConfigurationError when an attribute is not allowlisted. */ export declare function applyAllowedFieldAttributes(control: HTMLElement, attributes: Readonly> | undefined): void;