/** * GitHub user lookup helpers shared by web-ade-facing CLI commands. * * Both `trail list` and `topic list` accept `--user ` or default to * "the authenticated user." Login → numeric id resolution and the bare-/me/ * lookup both go through the public GitHub API with the same token chain * the rest of the CLI already uses (gh CLI → git credential helper). These * lookups are pure HTTP — no SDK dependency, no state — and identical * across commands, so they live here once. */ export interface GitHubUserId { id: number; login: string; } export declare function fetchGitHubMe(token: string): Promise; export declare function fetchGitHubUserByLogin(login: string, token: string): Promise; //# sourceMappingURL=github-user.d.ts.map