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 | crypt_shared?: boolean;
|
10 | csfle?: boolean;
|
11 | bits?: '32' | '64' | 32 | 64;
|
12 | };
|
13 | export declare type Options = ArtifactOptions & VersionListOpts;
|
14 | export declare type DownloadArtifactInfo = Required<Omit<ArtifactOptions, 'csfle'>> & {
|
15 | url: string;
|
16 | artifact: string;
|
17 | name: string;
|
18 | ext: string;
|
19 | filenamePlatform: string;
|
20 | debug: false;
|
21 | branch: 'master';
|
22 | };
|
23 | export declare function getDownloadURL(opts?: Options | string): Promise<DownloadArtifactInfo>;
|
24 | export default getDownloadURL;
|
25 | export { clearCache };
|