import React from 'react'; import type { FormLayout } from '.'; import type { Meta, InternalNamePath } from 'rc-field-form/lib/interface'; export declare type FormContextType = { hasFeedback: boolean; layout: FormLayout; requiredMarkStyle: 'asterisk' | 'text-required' | 'text-optional'; }; export declare const defaultFormContext: FormContextType; export declare const FormContext: React.Context; export declare type OnSubMetaChange = (meta: Meta & { destroy?: boolean; }, namePath: InternalNamePath) => void; export declare const NoStyleItemContext: React.Context;