/**
 * GitHub API client for internal-urls resolver
 */
export interface GitHubPRInfo {
    number: number;
    title: string;
    state: "open" | "closed";
    body: string;
    author: string;
    createdAt: string;
    updatedAt: string;
    url: string;
}
export interface GitHubIssueInfo {
    number: number;
    title: string;
    state: "open" | "closed";
    body: string;
    author: string;
    createdAt: string;
    updatedAt: string;
    url: string;
    labels: string[];
}
export declare class GitHubClient {
    private token?;
    private baseUrl;
    constructor(token?: string);
    private fetch;
    getPR(owner: string, repo: string, prNumber: string): Promise<GitHubPRInfo | null>;
    getIssue(owner: string, repo: string, issueNumber: string): Promise<GitHubIssueInfo | null>;
}
export declare function getGitHubClient(token?: string): GitHubClient;
//# sourceMappingURL=github-api.d.ts.map