import { type IGitHubResourceHover } from "../../../../workbench/contrib/github/browser/githubResourceHover.js"; import { type IGitHubIssue } from "../common/types.js"; export interface IIssueHoverData { readonly owner: string; readonly repo: string; readonly number: number; readonly repositoryHref: string; readonly referenceHref: string; readonly issue: IGitHubIssue; readonly density: "default" | "compact"; readonly onDidClickRepository?: () => void; readonly onDidClickReference?: () => void; } export type IIssueHover = IGitHubResourceHover; export declare function createIssueHover(data: IIssueHoverData): IIssueHover; /** The issue's display state, used both for the hover's status pill and its accessible description. */ export declare function getIssueStatus(issue: IGitHubIssue): { readonly kind: "open" | "closed" | "notPlanned" | "duplicate"; readonly label: string; };