import { CancellationToken } from "../../../../../base/common/cancellation.js"; import { ApiRequestOptions } from "@codingame/monaco-vscode-github-service-override/vscode/vs/platform/github/common/client/request"; import { GitHubApiClient } from "../githubApiClient.js"; export interface IGitHubRecentIssue { readonly number: number; readonly title: string; readonly url: string; readonly updatedAt: string; } export interface IGitHubRecentPullRequest { readonly number: number; readonly title: string; readonly url: string; readonly updatedAt: string; readonly hasMergeConflicts: boolean; readonly statusCheckRollupState: string | undefined; readonly latestCommitAt: string | undefined; readonly reviewThreads?: readonly IGitHubRecentPullRequestReviewThread[]; } export interface IGitHubRecentPullRequestReviewThread { readonly isResolved: boolean; readonly latestCommentAt: string | undefined; } export interface IGitHubRecentUserWork { readonly issues: readonly IGitHubRecentIssue[]; readonly pullRequests: readonly IGitHubRecentPullRequest[]; } export declare class GitHubRecentUserWorkFetcher { private readonly _client; constructor(_client: GitHubApiClient); getRecentAssignedIssues(owner: string, repo: string, token: CancellationToken, options?: ApiRequestOptions): Promise; getRecentAuthoredPullRequests(owner: string, repo: string, token: CancellationToken, options?: ApiRequestOptions): Promise; getPullRequestReviewThreads(owner: string, repo: string, pullRequestNumber: number, token: CancellationToken, options?: ApiRequestOptions): Promise; getIssuesWithLinkedPullRequests(owner: string, repo: string, issueNumbers: readonly number[], token: CancellationToken, options?: ApiRequestOptions): Promise>; }