export type FormControlState = File | FormData | string | null; export interface SetFormControlValueOptions { inactive?: boolean; state?: FormControlState; } export interface SetRepeatedFormControlValueOptions { inactive?: boolean; state?: FormControlState; } /** * Set one form-associated value while consistently omitting inactive controls. * Pass `state` only when restoration differs from the submitted value. */ export declare function setFormControlValue(internals: ElementInternals, value: File | string | null, options?: SetFormControlValueOptions): void; /** * Submit repeated values under one field name and preserve a serialized array * for browser form-state restoration. */ export declare function setRepeatedFormControlValue(internals: ElementInternals, name: string | null | undefined, values: readonly (number | string)[], options?: SetRepeatedFormControlValueOptions): void; export declare function restoreStringFormState(state: FormControlState, fallback?: string): string; export declare function restoreStringArrayFormState(state: FormControlState): string[]; export declare function restoreNumberArrayFormState(state: FormControlState, maximumValues?: number): number[]; //# sourceMappingURL=form-association.d.ts.map