export type GitHubViewer = { login: string; }; export type GitHubRepoSummary = { owner: string; name: string; fullName: string; isPrivate: boolean; }; export type GitHubDeviceCode = { deviceCode: string; userCode: string; verificationUri: string; expiresIn: number; interval: number; }; export declare function requestGitHubDeviceCode(clientId: string, scope?: string): Promise; export declare function exchangeGitHubDeviceCodeForToken(clientId: string, deviceCode: string): Promise<{ status: "success" | "authorization_pending" | "slow_down"; accessToken?: string; }>; export declare function getGitHubViewer(token: string): Promise; export declare function listAccessibleGitHubRepos(token: string, limit?: number): Promise; export declare function assertGitHubRepoAccess(owner: string, repo: string, token: string): Promise;