import { FormikActions, FormikProps } from 'formik'; import * as React from 'react'; export declare type ChildrenProps = T.Omit, 'handleSubmit'>; interface Props { children: (props: ChildrenProps) => React.ReactNode; initialValues: V; isInitialValid?: boolean; onSubmit: (data: V) => Promise; validate: (data: V) => { [P in keyof V]?: string; } | Promise<{ [P in keyof V]?: string; }>; } export default class ValidationForm extends React.Component> { mounted: boolean; componentDidMount(): void; componentWillUnmount(): void; handleSubmit: (data: V, { setSubmitting }: FormikActions) => void; render(): JSX.Element; } export {};