export declare const RAW_MAX_SIZE_BYTES = 10000000;
export declare function rawText(githubOrg: string, githubRepo: string, segments: string[]): Promise<string>;
interface GithubFile {
    name: string;
    path: string;
    sha: string;
    size: number;
    url: string;
    html_url: string;
    git_url: string;
    download_url: string;
    type: "file" | "dir";
    content: string;
    encoding: string;
}
export declare function api(path: string): Promise<any>;
export declare function contents(githubOrg: string, githubRepo: string, segments: string[]): Promise<GithubFile[]>;
export declare function defaultBranch(githubOrg: string, githubRepo: string): Promise<string>;
export declare function repos(githubOrg: string): Promise<{
    name: string;
}[]>;
export declare function fileInGist(gistId: string): Promise<string>;
export {};
