import { Http } from "@wocker/utils"; type RepositoryInfo = { default_branch: string; }; export type GithubTag = { name: string; zipball_url: string; tarball_url: string; commit: { sha: string; url: string; }; node_id: string; }; export type GithubBranch = { name: string; commit: { sha: string; url: string; }; protected: boolean; }; export declare class GithubClient { readonly owner: string; readonly repository: string; constructor(owner: string, repository: string); get client(): Http; get contentClient(): Http; getInfo(): Promise; getBranches(): Promise; getTags(): Promise; getFile(ref: string, path: string): Promise; downloadZipByUrl(url: string, dirPath: string): Promise; download(branch: string, dirPath: string): Promise; } export {};