import { FormixFormProviderType } from '../interface/form.interface'; import { FieldValues } from 'react-hook-form'; /** * Custom hook to access the formix form context. * @template TFieldValues - The type of field values. * @returns {FormixFormProviderType} - The form context containing form state and methods. * @throws Will throw an error if the hook is used outside of a FormProvider. */ export declare function useFormix(): FormixFormProviderType;