import type { FormValue } from "./value.js"; /** * An array form value. */ export interface FormArray, TOptional extends boolean = false> extends FormValue { type: "array"; elementType: T; /** * Whether this array is optional, i.e. allows `undefined` values. */ isOptional: TOptional; /** * Make this array optional, i.e. allow `undefined` values. */ optional(): FormArray; } /** * Create a new array form value. */ export declare function array>(elementType: T): FormArray; //# sourceMappingURL=array.d.ts.map