declare class Pagination { /** * The current page of the results. */ currentPage: number; /** * The number of results in each page. */ pageSize: number; /** * The total number of pages in the response. */ totalPages: number; /** * The total number of items in the response. */ totalResults: number; /** * Is true if there are more pages. */ hasNext: boolean; /** * Is true if there previous pages. */ hasPrevious: boolean; /** * A string of the sort options used. */ sort: string; private fetcher; private options; constructor(paging: any, options: any, fetcher: () => Promise); next(): Promise; previous(): Promise; } export default Pagination;