import { FirebaseEdgeError } from './errors.js'; export type GithubTokenResponse = { access_token: string; token_type: string; scope: string; }; export type GithubOAuthError = { error: string; error_description?: string; error_uri?: string; }; export declare function exchangeCodeForGitHubIdToken(code: string, redirect_uri: string, client_id: string, client_secret: string, fetchFn?: typeof globalThis.fetch): Promise<{ data: null; error: FirebaseEdgeError; } | { data: GithubTokenResponse | null; error: null; }>; //# sourceMappingURL=github-oauth.d.ts.map