import type { DFormControl } from './FormItem'; import type { AbstractControl } from './abstract-control'; import type { FormGroup } from './form-group'; import React from 'react'; export declare const DFormUpdateContext: React.Context<(() => void) | null>; export declare function useForm(cb: () => FormGroup): readonly [FormGroup, (val?: FormGroup) => void]; export type DFormControlInject = [any, (val: any) => void] | undefined; export declare function useFormControl(formControl?: DFormControl): DFormControlInject;