import type { BitbucketHttp } from '../../../util/http/bitbucket';
import type { Pr } from '../types';
export declare class BitbucketPrCache {
    private repo;
    private author;
    private items;
    private cache;
    private constructor();
    private static init;
    private getPrs;
    static getPrs(http: BitbucketHttp, repo: string, author: string | null): Promise<Pr[]>;
    private setPr;
    static setPr(http: BitbucketHttp, repo: string, author: string | null, item: Pr): Promise<void>;
    private reconcile;
    private getUrl;
    private sync;
    /**
     * Ensure the pr cache starts with the most recent PRs.
     * JavaScript ensures that the cache is sorted by PR number.
     */
    private updateItems;
}
