import type { FormikErrors, FormikValues } from "formik";
import type { AnySchema } from "yup";
export interface UseFormValidationProps<T extends FormikValues, C> {
    initialValues: T;
    validationSchema?: AnySchema;
    validationContext?: C;
}
export interface UseFormValidationResult<T extends FormikValues> {
    initialErrors: FormikErrors<T> | undefined;
    handleValidate: (values: T) => void | object | FormikErrors<T>;
}
export declare const useFormValidation: <T extends FormikValues, C>({ initialValues, validationSchema, validationContext, }: UseFormValidationProps<T, C>) => UseFormValidationResult<T>;
