export interface GitHubMeta { owner: string; repo: string; description: string | null; stars: number; forks: number; topics: string[]; license: string | null; defaultBranch: string; language: string | null; homepage: string | null; } export interface GitHubFileEntry { path: string; size: number; type: 'file' | 'dir'; downloadUrl: string | null; } export declare function parseGitHubURL(input: string): { owner: string; repo: string; branch?: string; } | null; export declare function fetchGitHubMeta(owner: string, repo: string): Promise; export declare function fetchGitHubTree(owner: string, repo: string, branch?: string): Promise; export declare function fetchGitHubFileContent(owner: string, repo: string, filePath: string, branch?: string): Promise; //# sourceMappingURL=github-api.d.ts.map