import React from 'react'; import type { FormItemProps } from 'antd'; import type { NamePath } from 'antd/lib/form/interface'; import type { ProSchemaValueType, SearchTransformKeyFn } from 'ls-pro-utils'; import type { GroupProps, FieldProps } from './interface'; import type { ProFormInstance } from '.'; export declare type FiledContextProps = { fieldProps?: FieldProps; formItemProps?: FormItemProps; groupProps?: GroupProps; itemCols?: number; setFieldValueType?: (name: NamePath, obj: { valueType?: ProSchemaValueType<'text'>; dateFormat?: string; /** 数据转化的地方 */ transform?: SearchTransformKeyFn; }) => void; formRef?: React.MutableRefObject; /** Form 组件的类型 */ formComponentType?: string; /** 表单的 getPopupContainer 控制 */ getPopupContainer?: (e: any) => ParentNode; }; declare const FieldContext: React.Context; export default FieldContext;