import { ThemeIcon } from "../../../../base/common/themables.js"; import { IStorageService } from "../../../../platform/storage/common/storage.service.js"; import { GitHubPullRequestState, IGitHubPullRequest } from "../common/types.js"; import { IPullRequestIconCache } from "./pullRequestIconCache.service.js"; export interface ICachedPullRequestState { readonly state: GitHubPullRequestState; readonly isDraft: boolean; readonly lastChecked: number; } export interface ICachedPullRequestEntry { readonly icon?: ThemeIcon; readonly pullRequest?: ICachedPullRequestState; } export declare class PullRequestIconCache implements IPullRequestIconCache { private readonly _storageService; readonly _serviceBrand: undefined; private readonly _icons; constructor(_storageService: IStorageService); get(prLink: string): ThemeIcon | undefined; getEntry(prLink: string): ICachedPullRequestEntry | undefined; getState(prLink: string): ICachedPullRequestState | undefined; setState(prLink: string, pullRequest: Pick): void; set(prLink: string, icon: ThemeIcon): void; private _store; private _load; private _save; }