import { InputProps, ModalProps } from 'antd'; import React from 'react'; import { ProColumnProps } from '../../render/propsType'; type RequestFunction

| void, R = any> = (params: P, ...args: any[]) => Promise; type OnOkFunction = (list: Record[]) => boolean; interface IConfigOption { mode: 'radio' | 'checkbox'; fetchOptions: RequestFunction; useRequestOptions: object; conditionKey: string; conditionColumns: ProColumnProps[]; defaultParams: Record; withPagination: boolean; paginationPosition: 'tableBottom' | 'modalBottom'; handleFormatDataSource: (dataSource: Object[]) => Object[]; defaultSelectedRows: Object[]; modalProps: ModalProps & { onOk: OnOkFunction; }; tableProps: Record; } interface IEnumSelect { onChange: (event: string | React.ChangeEvent) => void; handleFormat: (value: Object) => string; proformmode: string; configOption: IConfigOption; } export declare type IProps = InputProps & IEnumSelect; export {};