export interface GitHubUserResponse { login: string; name: string; html_url: string; } export interface GitHubIssueResponse { number: number; title: string; pull_request?: { html_url: string; }; labels: Array<{ name: string; }>; user: { login: string; html_url: string; }; } export interface Options { repo: string; rootPath: string; cacheDir?: string; } export default class GithubAPI { private cacheDir; private auth; constructor(config: Options); getBaseIssueUrl(repo: string): string; getIssueData(repo: string, issue: string): Promise; getUserData(login: string): Promise; private _fetch; private getAuthToken; }