1 | import { ElectronDownloadRequestOptions, ElectronPlatformArtifactDetailsWithDefaults } from './types';
|
2 | export { getHostArch } from './utils';
|
3 | export { initializeProxy } from './proxy';
|
4 | export * from './types';
|
5 | /**
|
6 | * Downloads an artifact from an Electron release and returns an absolute path
|
7 | * to the downloaded file.
|
8 | *
|
9 | * @param artifactDetails - The information required to download the artifact
|
10 | */
|
11 | export declare function downloadArtifact(_artifactDetails: ElectronPlatformArtifactDetailsWithDefaults): Promise<string>;
|
12 | /**
|
13 | * Downloads a specific version of Electron and returns an absolute path to a
|
14 | * ZIP file.
|
15 | *
|
16 | * @param version - The version of Electron you want to download
|
17 | */
|
18 | export declare function download(version: string, options?: ElectronDownloadRequestOptions): Promise<string>;
|