import { FormStrategy, FormModel } from './models';
import { IFormContext } from './context';
import { FormBuilder, $FieldSetBuilderChildren } from './builders';
import { UnknownFieldSetModelChildren, UnknownFieldSetBuilderChildren } from './utils';
export interface IForm<T extends UnknownFieldSetModelChildren> {
    ctx: IFormContext;
    model: FormModel<T>;
}
export declare function useForm<T extends UnknownFieldSetBuilderChildren>(arg: FormStrategy.View | FormBuilder<T>): IForm<$FieldSetBuilderChildren<T>>;
