import React from 'react'; import type { CRUDProps, CrudAdapter, MobileAction, MyColumns } from '../typing'; interface ProTableMobileProps { columns?: MyColumns[]; crud?: CRUDProps; crudKey?: string; apiPrefix?: string; globalQuery?: Record; umiRequest?: (url: string, options?: any) => Promise; adapter?: CrudAdapter; mobileActions?: MobileAction[]; onMobileItemClick?: (row: T) => void; mobileInfiniteScroll?: boolean; toolBarRender?: (action: any, rows: any) => React.ReactNode[]; /** 内置编辑/删除(由 ProTable 按权限过滤后传入,与 PC 操作列共用逻辑) */ builtInActions?: { edit?: (row: T) => void; delete?: (row: T) => void; }; /** 声明式行操作(来自 option 列 actions 配置,与 PC 端同一份) */ columnActions?: import('../../ProTable/typing').ColumnAction[]; /** 权限校验函数(用于 columnActions.access) */ accessFn?: (key: string) => boolean; /** 注册列表刷新函数,供操作完成后 reload */ registerReload?: (fn: () => void) => void; } declare function ProTableMobile = Record>({ columns, crud, crudKey, apiPrefix, globalQuery, umiRequest, adapter: adapterProp, mobileActions, onMobileItemClick, mobileInfiniteScroll, toolBarRender, builtInActions, columnActions, accessFn, registerReload, }: ProTableMobileProps): React.JSX.Element; export default ProTableMobile;