export declare const matchPlatform: (platform: string, arch: string, isMusl: () => boolean) => string;
export declare const getBinaryFile: (platform: string, version: string, proxy?: string) => Promise<ArrayBuffer>;
interface Release {
    id: number;
    tag: string;
    author: string;
    name: string;
    draft: boolean;
    prerelease: boolean;
    createdAt: string;
    publishedAt: string;
    markdown: string;
    html: string;
}
/** 直接拿最后一个版本的信息 */
export declare const getLatestVersion: () => Promise<Release>;
export declare const getVersionBinary: (v?: string) => Promise<Release | undefined>;
export declare const getAllVersions: () => Promise<Release[]>;
export declare function getBinName(platform: string): string;
export {};
