import React from 'react'; import { FormComponentProps, FormItemProps } from 'antd/lib/form'; import { ModalProps } from 'antd/lib/modal'; import { GetFieldDecoratorOptions } from 'antd/lib/form/Form'; declare type IParams = any; interface IFormItem { placeholder?: string; key: string; name: string; required: boolean; requiredMsg?: string; options?: GetFieldDecoratorOptions; config?: FormItemProps; style?: React.CSSProperties; render?: (data: IFormItem) => React.ReactNode; } interface IBaseForm extends FormComponentProps { loading?: boolean; modal?: ModalProps; labelCol?: { span: number; }; wrapperCol?: { span: number; }; formItems?: IFormItem[]; params?: IParams; children?: React.ReactNode; resetFieldsAfterLoading?: boolean; onSubmit?: (params: IParams) => void; onError?: (err: any) => void; } declare const _default: import("antd/lib/form/interface").ConnectedComponentClass<({ loading, form, modal, labelCol, wrapperCol, formItems, params, children, resetFieldsAfterLoading, onSubmit, onError, }: IBaseForm) => JSX.Element, Pick>; export default _default;