import { FormContextValue } from "../contexts/FormContext";
/**
 * Hook providing access to the current context within a form.
 * @throws {NoFormContextError} When no form is in context.
 * @returns The current context within a form.
 */
export declare function useFormContext<T = unknown>(): FormContextValue<T>;
