/// <reference types="react" />
type ValuesType = Record<string, any>;
type PageValueType = {
    currentPage: number;
    pageSize: number;
    total: number;
};
export interface TableParamsProps {
    tableParams: ValuesType;
    setTableParams: React.Dispatch<React.SetStateAction<ValuesType>>;
    saveCurrentPageValues: () => void;
    getCurrentSaveValues: () => {
        values: ValuesType;
        pageInfo: PageValueType;
    };
    pageInfo: PageValueType;
    setPageInfo: React.Dispatch<React.SetStateAction<PageValueType>>;
}
declare const useTableParams: (initSize?: number, uniqueKey?: string) => TableParamsProps;
export default useTableParams;
