import { ComputedRef, MaybeRef, Reactive, ShallowRef } from 'vue';
import { TableInstance } from './useCrudPage';
export interface UseSingleTableReturnType<T extends TableInstance = TableInstance> {
    tableRef: ShallowRef<T | undefined>;
    keyword: Reactive<Record<string, any>>;
    tableData: ComputedRef<MaybeRef<any[]>>;
    refresh: () => void;
    search: (params?: Record<string, any>) => void;
    reset: () => void;
}
/**
 * @description 处理单个表格
 * @param {Record<string, any>} defaultKeyword 默认关键字
 * @returns {
 * tableRef : ShallowRef<T | undefined>,
 * tableData: ComputedRef<MaybeRef<any[]>>;
 * keyword  : reactive<Record<string,                 any>>,
 * refresh  : () => void,
 * search   : (params?: Record<string, any>) => void,
 * reset    : () => void,
 * }
*/
export declare const useSingleTable: <T extends TableInstance = TableInstance>(defaultKeyword?: Record<string, any>) => UseSingleTableReturnType<T>;
