import { default as React, ReactNode } from 'react'; import { FormEventHub } from './FormEventHub'; import { FormEventManager } from './FormEventManager'; export interface FormEventContextType { eventHub: FormEventHub; formData?: any; bindingData?: any; formContext?: any; noValidate?: boolean; } declare const FormEventContext: React.Context; export declare const SubmitLifecycleOwnerContext: React.Context<"form" | "parent">; export { FormEventContext, FormEventManager }; export interface FormEventProviderProps { eventHub: FormEventHub; formData?: any; bindingData?: any; formContext?: any; noValidate?: boolean; children: ReactNode; } export declare const FormEventProvider: React.FC; export declare const useFormEventHub: () => FormEventContextType; export declare const useFieldEventHandlers: (fieldId: string, schema?: any, fieldPath?: string[]) => { onFocus: (value: any) => Promise; onBlur: (value: any) => Promise; onChange: (value: any) => Promise; };