import { ControlId, IAbstractControl } from './abstract-control'; import { ControlsRawValue, ControlsKey, IAbstractControlContainer } from './abstract-control-container'; import { IAbstractControlBaseOptions } from './abstract-control-base'; import type { PartialDeep } from 'type-fest'; export declare const FormArrayInterface = "@@FormArrayInterface_solidjs"; export interface IFormArrayOptions = Record> extends IAbstractControlBaseOptions { } export interface IFormArray = ReadonlyArray, Data extends Record = Record> extends IAbstractControlContainer { [FormArrayInterface]: true; push(control: Controls[number]): void; setControls(controls: Controls): void; removeControl(keyOrControl: ControlsKey | Controls[ControlsKey]): void; patchValue(value: PartialDeep>): void; } /** * Returns true if the provided object implements * `IFormArray` */ export declare function isFormArray(object?: unknown): object is IFormArray; export declare function createFormArray = ReadonlyArray, Data extends Record = Record>(controls?: Controls, options?: IFormArrayOptions): IFormArray; //# sourceMappingURL=form-array.d.ts.map