import { type UseCheckboxCacheReturn } from './useCheckboxCache'; import type { ComputedRef, Ref } from 'vue'; import type { ITableProInstance, TableProInstance, TableProProps } from '../types'; import type { TableProApiParams } from '../typings'; declare function createExendApis(tableRef: Ref, tablePropsRef: ComputedRef, filterRef: any, isCheckboxCacheEnabled: UseCheckboxCacheReturn['isCheckboxCacheEnabled'], checkboxCacheList: UseCheckboxCacheReturn['checkboxCacheList'], deleteCheckboxCache: UseCheckboxCacheReturn['deleteCheckboxCache'], deleteAllCheckboxCache: UseCheckboxCacheReturn['deleteAllCheckboxCache'], currentPage: Ref): { getSelectRowKeys: () => string[]; clearSelectedRowByKey: (keyField: string | number) => Promise; getSelectRows: () => any[]; clearSelectedRows: () => Promise; insertRow: (records: Record | Record[]) => void; updateRow: (records: Record | Record[]) => void; deleteRow: (records: Record | Record[]) => void; reload: (options?: TableProApiParams | undefined) => Promise; }; /** 扩展实例 */ declare type OuterExtendApis = { setLoading: (loading: boolean) => void; resetFilterInput: () => void; resizeTableHeight: () => void; showExportModal: () => void; showColumnsModa: () => void; clearCellTooltip: () => void; }; export declare type TableProExtendApis = ReturnType & OuterExtendApis; /** * 扩展 vxegrid instance 实例 * @param tableRef * @returns */ export declare function useExtendInstance(tableRef: Ref, tablePropsRef: ComputedRef, outerExtendApis: OuterExtendApis, filterRef: Ref, isCheckboxCacheEnabled: UseCheckboxCacheReturn['isCheckboxCacheEnabled'], checkboxCacheList: UseCheckboxCacheReturn['checkboxCacheList'], deleteCheckboxCache: UseCheckboxCacheReturn['deleteCheckboxCache'], deleteAllCheckboxCache: UseCheckboxCacheReturn['deleteAllCheckboxCache'], currentPage: Ref): ITableProInstance; export {};