1 | import { VersionListOpts, clearCache } from './version-list';
|
2 | declare 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 | };
|
11 | export declare type Options = ArtifactOptions & VersionListOpts;
|
12 | export 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 | };
|
21 | export declare function getDownloadURL(opts?: Options | string): Promise<DownloadArtifactInfo>;
|
22 | export default getDownloadURL;
|
23 | export { clearCache };
|