import { IFormContext } from './context'; import { $FieldSetValue, FieldSetModel, ModelRef } from './models'; import { IValidators } from './validate'; import { UnknownFieldSetModelChildren } from './utils'; export declare type IUseFieldSet = [ IFormContext, FieldSetModel ]; export declare function useFieldSet(field: string | ModelRef<$FieldSetValue, any, FieldSetModel>, validators?: IValidators<$FieldSetValue>): IUseFieldSet; export declare function useFieldSet(field: FieldSetModel): IUseFieldSet; export declare function useNamedChildModel(fieldSet: FieldSetModel, name: K): T[K];