summaryrefslogtreecommitdiff
path: root/node_modules/@electron/get/dist/cjs/GotDownloader.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@electron/get/dist/cjs/GotDownloader.d.ts')
-rw-r--r--node_modules/@electron/get/dist/cjs/GotDownloader.d.ts21
1 files changed, 0 insertions, 21 deletions
diff --git a/node_modules/@electron/get/dist/cjs/GotDownloader.d.ts b/node_modules/@electron/get/dist/cjs/GotDownloader.d.ts
deleted file mode 100644
index 6494756..0000000
--- a/node_modules/@electron/get/dist/cjs/GotDownloader.d.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { Progress as GotProgress, Options as GotOptions } from 'got';
-import { Downloader } from './Downloader';
-/**
- * See [`got#options`](https://github.com/sindresorhus/got#options) for possible keys/values.
- */
-export declare type GotDownloaderOptions = (GotOptions & {
- isStream?: true;
-}) & {
- /**
- * if defined, triggers every time `got`'s `downloadProgress` event callback is triggered.
- */
- getProgressCallback?: (progress: GotProgress) => Promise<void>;
- /**
- * if `true`, disables the console progress bar (setting the `ELECTRON_GET_NO_PROGRESS`
- * environment variable to a non-empty value also does this).
- */
- quiet?: boolean;
-};
-export declare class GotDownloader implements Downloader<GotDownloaderOptions> {
- download(url: string, targetFilePath: string, options?: GotDownloaderOptions): Promise<void>;
-}