import { TableProps, TransferProps } from 'antd'; import { default as React } from 'react'; import { TransferDirection, TransferItem } from 'antd/es/transfer'; import { Panes } from '../OnChainTabs'; import { BasicsAttribute } from '../../utils/attribute'; export interface OnChainPopoverTransferProps { title?: React.ReactNode; allListOptions: Record; showFooter?: boolean; getListCodeItem: (params: { search: Record; tabKey: Panes['tabKey']; pageNo: Record; isPaging?: boolean; }) => Promise; onTabsChange?: (e: string) => void; isRadio?: boolean; pager?: Record; mandatory?: boolean; panes?: Panes[]; modalWidth?: number; scroll?: { x: number; y: number; }; columns?: TableProps['columns'] | Record['columns']>; transfer?: TransferProps; defaultValue?: string | string[]; onCancel?: () => void; onSubmit?: (keys: string[], currentTabKey: string, getActualTabKey?: (allOptions?: Record) => string, targets?: Record) => void; attr?: BasicsAttribute; defaultActiveKey?: string; placeholder?: string; } export interface OnChainPopoverTransferRef { dataSource: any[]; targetKeys: any[]; loading: boolean; submit: () => Promise; open: (params: { ok?: (keys: string[], tabKey: string, targets: Record) => void; cancel?: () => void; }) => void; } declare const OnChainPopoverTransfer: React.ForwardRefExoticComponent>; export default OnChainPopoverTransfer;