import { GithubReleaseData, GithubRepoFile, RepoPath } from '../types/Github.js'; import { HubSpotPromise } from '../types/Http.js'; declare global { var githubToken: string; } export declare function fetchRepoReleaseData(repoPath: RepoPath, tag?: string): HubSpotPromise; export declare function fetchRepoAsZip(zipUrl: string): HubSpotPromise; export declare function fetchRepoFile(repoPath: RepoPath, filePath: string, ref: string): HubSpotPromise; export declare function fetchRepoFileByDownloadUrl(downloadUrl: string): HubSpotPromise; export declare function fetchRepoContents(repoPath: RepoPath, path: string, ref?: string): HubSpotPromise>;