import type { AnyObject, FormState } from 'final-form'; import { FC } from 'react'; import type { IFormActionProps } from '..'; interface IFormContext extends IFormActionProps, Partial> { canSubmit: boolean; submitDisabled: boolean; submitting: boolean; triggerCancel: () => void; triggerSubmit: () => void; } export declare const useFormContext: () => IFormContext; export declare const FormContextProvider: FC & IFormActionProps>; export {};