/// <reference types="react" />
export declare const usePagination: ({ pageSize: inputPageSize, initialPage, }: {
    pageSize: number;
    initialPage: number;
}) => {
    onNextPage: () => void;
    onPreviousPage: () => void;
    setPage: import("react").Dispatch<import("react").SetStateAction<number>>;
    page: number;
    pages: number;
    resetPage: () => void;
    hasPagination: boolean;
    pageSize: number;
    paginationFilters: {
        limit: number;
        offset: number;
    };
    total: number;
    setTotal: import("react").Dispatch<import("react").SetStateAction<number>>;
};
