import { AbstractControl, ValidationErrors } from '@angular/forms'; import { BehaviorSubject } from 'rxjs'; import { DynBaseConfig } from './types/config.types'; import { DynInstanceType } from './types/forms.types'; import { DynParams } from './types/params.types'; import { DynWrapperId } from './types/wrapper.types'; export type DynFormNodeLoad = DynBaseConfig & { formControl?: TControl; instance?: DynInstanceType; wrapper?: DynWrapperId; component: TComponent; }; export declare class DynFormNode { readonly parent: DynFormNode; readonly control: TControl; readonly path: string[]; readonly isolated: boolean; get isRoot(): boolean; get root(): DynFormNode; children: DynFormNode[]; error$: BehaviorSubject; loaded: boolean; name: string; private _unsubscribe$; constructor(parent: DynFormNode, control: TControl, path: string[], isolated: boolean); destroy(): void; equivalent(path: string[]): boolean; search(path: string[]): DynFormNode | undefined; setup(): void; addChild(node: DynFormNode): void; removeChild(node: DynFormNode): void; }