import { UnauthorizedError } from "@jackdbd/oauth2-error-responses"; export interface GitHubUser { login: string; id: number; avatar_url: string; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: "User"; site_admin: boolean; name: string; company: string; blog: string; location: string; email: string; hireable: boolean; bio: string; twitter_username: string; public_repos: number; public_gists: number; followers: number; following: number; created_at: string; updated_at: string; } export interface Config { access_token: string; } export declare const githubUser: (config: Config) => Promise<{ error: UnauthorizedError; value?: undefined; } | { value: GitHubUser; error?: undefined; }>; //# sourceMappingURL=github-user.d.ts.map