import type { TableProInstance, TableProProps } from '../types';
import type { ComputedRef, Ref } from 'vue';
import type { Emitter } from 'tav-ui/es/utils/mitt';
export declare function useCheckboxCache(tableRef: Ref<TableProInstance | null>, tablePropsRef: ComputedRef<TableProProps>, currentPage: Ref<number>, tableEmitter: Emitter): {
    checkboxCaches: Ref<Record<string, Record<string, any>[]>, Record<string, Record<string, any>[]>>;
    isCheckboxCacheEnabled: ComputedRef<boolean | undefined>;
    checkboxCacheList: ComputedRef<Record<string, any>[]>;
    createCheckboxCache: (row: Record<string, any>) => Promise<void>;
    createAllCheckboxCache: (rows: Record<string, any>[]) => Promise<void>;
    deleteCheckboxCache: (row: Record<string, any>) => Promise<void>;
    deleteAllCheckboxCache: (options: {
        deleteByPage: boolean;
    }) => Promise<void>;
    applyCheckboxCacheByCurrentPage: () => Promise<void>;
};
export declare type UseCheckboxCacheReturn = ReturnType<typeof useCheckboxCache>;
