import { RefObject } from "react";
interface UsePaginationProps {
    contentPerPage: number;
    count: number;
    currentPage: number;
    isMinimized?: boolean;
    ref: RefObject<HTMLDivElement>;
}
interface UsePaginationReturn {
    currPage: number;
    totalPages: number;
    setPage: (page: number) => void;
    nextPage: () => void;
    prevPage: () => void;
    gaps: {
        before: boolean;
        paginationGroup: number[];
        after: boolean;
    };
}
declare type UsePagination = (props: UsePaginationProps) => UsePaginationReturn;
declare const usePagination: UsePagination;
export default usePagination;
