import { GithubReleaseData, GithubRepoFile, RepoPath, CloneGithubRepoOptions } from '../types/Github.js'; /** * @deprecated Use `fetchRepoFile` instead - this util is a thin wrapper around it */ export declare function fetchFileFromRepository(repoPath: RepoPath, filePath: string, ref: string): Promise; export declare function fetchReleaseData(repoPath: RepoPath, tag?: string): Promise; export declare function cloneGithubRepo(repoPath: RepoPath, dest: string, options?: CloneGithubRepoOptions): Promise; export declare function fetchGitHubRepoContentFromDownloadUrl(dest: string, downloadUrl: string): Promise; /** * Writes files from a public repository to the destination folder @deprecated - This method fetches all the files individually, which can hit rate limits for unauthorized requests. Use `cloneGithubRepo` instead. */ export declare function downloadGithubRepoContents(repoPath: RepoPath, contentPath: string, dest: string, ref?: string, filter?: (contentPiecePath: string, downloadPath: string) => boolean): Promise; export declare function listGithubRepoContents(repoPath: RepoPath, contentPath: string, fileFilter?: 'file' | 'dir'): Promise;