import { ThemeIcon } from "../../../../base/common/themables.js"; import { IGitHubPullRequest } from "../common/types.js"; import { ICachedPullRequestEntry, ICachedPullRequestState } from "./pullRequestIconCache.js"; export declare const IPullRequestIconCache: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; /** Bounded, persistent last-known PR state and icons, keyed by normalized PR URL. */ export interface IPullRequestIconCache { readonly _serviceBrand: undefined; /** The last icon stored for `prLink`, or `undefined` if none is cached. */ get(prLink: string): ThemeIcon | undefined; getEntry(prLink: string): ICachedPullRequestEntry | undefined; getState(prLink: string): ICachedPullRequestState | undefined; setState(prLink: string, pullRequest: Pick): void; /** Remembers an icon without allowing an observed merge to regress. */ set(prLink: string, icon: ThemeIcon): void; }