import { InputProps } from 'antd'; import { default as React } from 'react'; import { OnChainTableColumnProps } from '../OnChainTable'; import { BasicsAttribute } from '../../utils/attribute'; import { APP } from '../../typings'; export interface PopupSelectProps { generateColumns: (params: React.MutableRefObject>) => OnChainTableColumnProps; getDataSource: (params: { search: string; sorters: string; filters: string; pageNo: number; pageSize: number; record?: APP.instanceInfoType; }) => Promise<{ data: any[]; total: number; }>; rowKey?: string; searchProps?: Partial>; record?: APP.instanceInfoType; attr?: BasicsAttribute; title?: React.ReactNode; showFooter?: boolean; mandatory?: boolean; modalWidth?: number; scroll?: { x: number; y: number; }; defaultValue?: string | string[]; onCancel?: () => void; onSubmit?: (keys: string[], currentTabKey: string, getActualTabKey?: (allOptions?: Record) => string) => void; } export interface PopupSelectRef { dataSource: any[]; loading: boolean; submit: () => Promise; open: (params: { ok?: (keys: string[]) => void; cancel?: () => void; }) => void; } declare const PopupSelect: React.ForwardRefExoticComponent>; export default PopupSelect;