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 FormGroupInterface = "@@FormGroupInterface_solidjs"; export interface IFormGroupOptions = Record> extends IAbstractControlBaseOptions { } export interface IFormGroup = Record> extends IAbstractControlContainer { [FormGroupInterface]: true; setControls(controls: Controls): void; removeControl(keyOrControl: ControlsKey | Controls[ControlsKey]): void; patchValue(value: PartialDeep>): void; } /** * Returns true if the provided object implements * `IFormGroup` */ export declare function isFormGroup(object?: unknown): object is IFormGroup; export declare function createFormGroup = Record>(controls?: Controls, options?: IFormGroupOptions): IFormGroup; //# sourceMappingURL=form-group.d.ts.map