UNPKG

700 BTypeScriptView Raw
1import { VersionListOpts, clearCache } from './version-list';
2declare type ArtifactOptions = {
3 version?: string;
4 arch?: string;
5 platform?: string;
6 distro?: string;
7 enterprise?: boolean;
8 cryptd?: boolean;
9 bits?: '32' | '64' | 32 | 64;
10};
11export declare type Options = ArtifactOptions & VersionListOpts;
12export declare type DownloadArtifactInfo = Required<ArtifactOptions> & {
13 url: string;
14 artifact: string;
15 name: string;
16 ext: string;
17 filenamePlatform: string;
18 debug: false;
19 branch: 'master';
20};
21export declare function getDownloadURL(opts?: Options | string): Promise<DownloadArtifactInfo>;
22export default getDownloadURL;
23export { clearCache };