import { FormController } from "./useForm";
/**
 * Hook providing access to the controller of the form in context.
 * @throws {NoFormContextError} When no form is in context.
 * @throws {NoFormControllerError} When no form controller is in context.
 * @returns Controller of the form in context.
 */
export declare function useFormController<T = unknown>(): FormController<T>;
