import React from 'react'; interface FormProps { initialValues?: Record; onValuesChange?: (changedValues: any, allValues: any) => void; onFinish?: (values: any) => void; onFinishFailed?: (errorInfo: any) => void; layout?: 'horizontal' | 'vertical' | 'inline'; labelCol?: { span?: number; offset?: number; }; wrapperCol?: { span?: number; offset?: number; }; formId?: string; [key: string]: any; } interface FormContextType { formWrapper: any; formProps: FormProps; watchChild?: (children: React.ReactNode) => void; } declare const FormContext: import("react").Context; export declare const FormProvider: React.FC<{ formWrapper: any; children: React.ReactNode; formProps: FormProps; watchChild?: (children: React.ReactNode) => void; }>; export declare const useFormContext: () => FormContextType; export declare const useFormContextIgnore: () => FormContextType; export default FormContext;