export declare const matchPlatform: (platform: string, arch: string, isMusl: () => boolean) => string; export declare const getBinaryFile: (platform: string, version: string, proxy?: string) => Promise; 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; export declare const getVersionBinary: (v?: string) => Promise; export declare const getAllVersions: () => Promise; export declare function getBinName(platform: string): string; export {};