import { InertiaFormProps } from '@inertiajs/inertia-react';
import { FormikConfig, FormikHelpers, FormikProps, FormikValues } from 'formik';
import React from 'react';
export declare type ExtendedFormikProps<Values> = FormikProps<Values> & {
    submitDisabled: boolean;
};
export interface CustomFormikConfig<Values> extends Omit<FormikConfig<Values>, 'onSubmit'> {
    inertia?: InertiaFormProps;
    initialValues: Values;
    initialValid: boolean;
    children?: ((props: ExtendedFormikProps<Values>) => React.ReactNode) | React.ReactNode;
    onSubmit(values: Values, formikHelpers: FormikHelpers<Values>): void | Promise<any>;
}
export declare const Formik: {
    <Values extends FormikValues = FormikValues>({ inertia, initialValid, children, ...props }: CustomFormikConfig<Values>): JSX.Element;
    displayName: string;
};
export default Formik;
