import { Ref } from 'vue'; import { ProTableProps, TableActionType } from './types'; export type UseProTableReturn = [ (instance: TableActionType) => void, TableActionType ]; /** 支持 ref/computed 的 props */ export type UseProTablePropsReactive = ProTableProps | Ref; /** * 用于 ProTable 的 useProTable,支持通过 ref 调用表格方法 * @param props ProTable 的 props 配置,传入后会通过 setProps 同步到表格(支持 ref/computed 响应式更新) */ export declare function useProTable(props?: UseProTablePropsReactive): UseProTableReturn;