/** * Parse an `owner/repo` slug from a GitHub remote URL. Handles the three * common remote shapes: https (`https://github.com/o/r(.git)`), scp-style ssh * (`git@github.com:o/r(.git)`), and explicit ssh/git URLs * (`ssh://git@github.com/o/r`). Returns null for non-GitHub remotes. */ export declare function parseGitHubSlug(remoteUrl: string): string | null; /** The `owner/repo` slug of the cwd's `origin` remote, or null when absent/non-GitHub. */ export declare function getGitHubRepoSlug(cwd: string): Promise; export interface GitHubOpenCounts { issues: number; prs: number; } /** * Open issue + PR counts for a GitHub repo, via the `gh` CLI's own auth. * Returns null on ANY failure (gh missing, not authenticated, offline, rate * limited) — callers treat null as "unknown" and keep the UI chip hidden. */ export declare function getGitHubOpenCounts(slug: string): Promise; //# sourceMappingURL=github.d.ts.map