import * as React from 'react'; import { FormikApi, FormikConnectedType, FormikContextType, FormikSharedConfig, FormikValues } from './types'; /** * This Context provides the completely stable Formik API * * @private */ export declare const FormikContext: React.Context>; export declare type FormikProviderProps = { value: FormikContextType & FormikSharedConfig; }; export declare const FormikProvider: (props: React.PropsWithChildren>) => JSX.Element; export declare function useFormikContext(): FormikApi; export declare function useFormikConfig(): FormikSharedConfig; /** * @deprecated Please access state directly via the Formik API. */ export declare function FormikConsumer({ children, }: { children: (formik: FormikConnectedType) => React.ReactNode; }): JSX.Element;