import type { FormikConfig, FormikValues } from "formik";
import type { AnySchema } from "yup";
export interface FormProviderProps<T, C> extends FormikConfig<T> {
    validationSchema?: AnySchema;
    validationContext?: C;
}
export declare function FormProvider<T extends FormikValues, C = unknown>({ initialValues, validationSchema, validationContext, onSubmit, ...props }: FormProviderProps<T, C>): JSX.Element;
