/// <reference types="react" />
import { TableInstance } from "../types";
export type PaginationData = {
    pageIndex: number;
    pageSize: number;
};
export interface TableConfigData<T> {
    tableName?: string;
    tableInstance?: TableInstance<T>;
    paginationData: PaginationData;
}
export declare const paginationBaseConfig: {
    pageIndex: number;
    pageSize: number;
};
export declare function useTableConfig<T = Record<string, any>>(initialValue?: TableConfigData<T>): {
    table: TableConfigData<T>;
    paginationData: PaginationData;
    setTableConfig: import("react").Dispatch<import("react").SetStateAction<TableConfigData<T>>>;
};
