import type { AxiosInstance } from "axios"; import type winston from "winston"; export declare const BITBUCKET_DEFAULT_PAGELEN = 10; export declare const BITBUCKET_MAX_PAGELEN = 100; export declare const BITBUCKET_ALL_ITEMS_CAP = 1000; export interface PaginationRequestOptions { pagelen?: number; page?: number; all?: boolean; params?: Record; defaultPagelen?: number; maxItems?: number; description?: string; } export interface PaginatedValuesResult { values: T[]; page?: number; pagelen: number; next?: string; fetchedPages: number; totalFetched: number; previous?: string; } export declare class BitbucketPaginator { private readonly api; private readonly logger; constructor(api: AxiosInstance, logger: winston.Logger); fetchValues(path: string, options?: PaginationRequestOptions): Promise>; private performRequest; private extractValues; private normalizePagelen; }