import { type IGitHubResourceHover } from "../../../../workbench/contrib/github/browser/githubResourceHover.js"; import { GitHubCIOverallStatus, type IGitHubPullRequest } from "../common/types.js"; export interface IPullRequestHoverData { readonly owner: string; readonly repo: string; readonly number: number; readonly repositoryHref: string; readonly referenceHref: string; readonly pullRequest: IGitHubPullRequest; readonly ciStatus?: GitHubCIOverallStatus; readonly density: "default" | "compact"; readonly onDidClickRepository?: () => void; readonly onDidClickReference?: () => void; readonly onDidClickBaseBranch?: () => void; readonly onDidClickHeadBranch?: () => void; } export type IPullRequestHover = IGitHubResourceHover; export declare function createPullRequestHover(data: IPullRequestHoverData): IPullRequestHover; /** Returns the localized CI summary shown in a pull request reference hover. */ export declare function getPullRequestChecksStatusLabel(pullRequest: IGitHubPullRequest, ciStatus: GitHubCIOverallStatus | undefined): string | undefined;