/// <reference types="react" />
export declare const usePagination: (tableRef: any, search: any, filters?: any) => {
    onSearchText: (newSearchText: any) => void;
    onChangePage: (newPage?: number, newRowsPerPage?: number, newSearchText?: string, resetSearch?: boolean) => void;
    onChangeSort: (newSort: any) => void;
    onChangeRowsPerPage: (newRowsPerPage: any) => void;
    onChangeColumns: (newColums: any) => void;
    setColumns: import("react").Dispatch<import("react").SetStateAction<never[]>>;
    onSelectedItems: (selectedItems: any) => void;
    setSelectedItems: import("react").Dispatch<import("react").SetStateAction<never[]>>;
    setSearchText: import("react").Dispatch<import("react").SetStateAction<string>>;
    resetTable: () => void;
    rowsPerPage: number;
    page: number;
    hideAllInPagination: boolean;
    infiniteScroll: boolean;
    searchText: string;
    columns: never[];
    selectedItems: never[];
    refresh: (_filters?: {}) => void;
    filters: any;
};
