export declare const initialCursor: {};
export interface PaginationParams {
    limit?: number;
}
export declare class Pagination {
    limit: number;
    page: number;
    cursor: string | typeof initialCursor | null;
    constructor(params: PaginationParams);
    changeOffset(offset: number): void;
    effectiveLimit(maxLimit?: number): number;
    eagerLimitQuery(): {};
    limitQuery(maxLimit?: number): {
        limit: number;
        offset: number;
    };
    toQueryString(): Record<string, string>;
    changeLimit(limit: number): void;
    nextPage(): void;
    prevPage(): void;
    moveToPage(page?: number): void;
    get offset(): number;
    pageBounds(page: number): {
        from: number;
        to: number;
    };
    pageOf(index: number): number;
}
//# sourceMappingURL=Pagination.d.ts.map