export declare const usePagination: ({ totalPages, currentPage, pagesAroundCurrentPage, showFirstAndLastPage, onPageSelect, }: UsePaginationProps) => UsePaginationResult;
declare type Page = {
    pageNumber: number;
    isActive: boolean;
    isFirstPage?: boolean;
    isLastPage?: boolean;
    isPlaceholder?: boolean;
    select: () => void;
};
export declare type UsePaginationResult = {
    pages: Page[];
    nextPage: number | null;
    prevPage: number | null;
    goToNextPage: () => void;
    goToPrevPage: () => void;
    goToPage: (page: number) => void;
    getLinkHref: (page: number) => any;
};
export declare type UsePaginationProps = {
    totalPages: number;
    currentPage: number;
    onPageSelect?: (newPage: number, currentPage: number) => void;
    pagesAroundCurrentPage?: number;
    showFirstAndLastPage?: boolean;
};
export {};
