import * as React from "react"; import { UncertainObject } from "../../Validators"; export interface FormContextInterface { modelErrors: UncertainObject; modelValues: ModelI; loading: boolean; unparsedError?: any; registeredElements: UncertainObject; hasErrors: boolean; onSubmit: () => Promise; onValidate: (groups?: Array) => Promise; setModelValue: (attribute: string, value: any) => void; unregisterElement: (attribute: string) => void; registerElement: (attribute: string, element: any) => boolean | never; } export declare const FormContext: React.Context>>;