import { AbstractPaginator } from './AbstractPaginator.js'; import type { PaginationOptions, SimplePaginatedResponse } from './PaginationMeta.js'; /** * Simple (non–length-aware) paginator: one query fetching `perPage + 1` rows. */ export declare class Paginator extends AbstractPaginator { private readonly currentPageNumber; private readonly morePages; /** * @param items - Up to `perPage` items (extra probe row must already be removed by the caller). * @param perPage - Requested page size. * @param currentPage - 1-based page number. * @param hasMore - Whether another full page may exist after this one. * @param options - Path, query, fragment. */ constructor(items: T[], perPage: number, currentPage: number, hasMore: boolean, options?: PaginationOptions); currentPage(): number; hasMorePages(): boolean; previousPageUrl(): string | null; nextPageUrl(): string | null; toJSON(): SimplePaginatedResponse; } //# sourceMappingURL=Paginator.d.ts.map