/**
 * GitHub user lookup helpers shared by web-ade-facing CLI commands.
 *
 * Both `trail list` and `topic list` accept `--user <login>` 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<GitHubUserId>;
export declare function fetchGitHubUserByLogin(login: string, token: string): Promise<GitHubUserId>;
//# sourceMappingURL=github-user.d.ts.map