export declare function isGhInstalled(): Promise; export declare function _resetGhCache(): void; export interface GitHubIssueDetail { number: number; title: string; body: string; labels: string[]; state: 'open' | 'closed'; createdAt: string; } export declare function fetchGitHubIssue(owner: string, repo: string, number: number): Promise; export interface GitHubIssueListItem { number: number; title: string; state: 'open' | 'closed'; labels: string[]; createdAt: string; } export interface ListIssuesResult { issues: GitHubIssueListItem[]; error?: string; } export interface GitHubDiagnosticCheck { name: string; ok: boolean; message: string; } export interface GitHubDiagnostics { success: boolean; checks: GitHubDiagnosticCheck[]; } export declare function listRepoIssues(owner: string, repo: string, search?: string, limit?: number): Promise; export declare function runGitHubDiagnostics(owner: string, repo: string, issueNumbers?: number[]): Promise; export declare function detectGitHubRemote(projectRoot: string): Promise; export interface ParsedGitHubIssue { owner: string; repo: string; number: number; } export declare function isGitHubIssueUrl(input: string): ParsedGitHubIssue | null; export interface GitHubRepo { owner: string; repo: string; } export declare function parseGitHubRemote(remoteUrl: string): GitHubRepo | null;