1 | import { RequestInit as FetchOptions, Request, Headers } from 'node-fetch';
|
2 | /**
|
3 | * Downloads the given `url` to the OS's temp folder and
|
4 | * returns the path to it.
|
5 | */
|
6 | declare const fetchToTemp: (url: string) => Promise<string>;
|
7 | declare const fetch: (url: string | Request, options?: FetchOptions) => Promise<{
|
8 | status: number;
|
9 | data: any;
|
10 | headers: Headers;
|
11 | }>;
|
12 | export { fetch, fetchToTemp };
|
13 | //# sourceMappingURL=fetch.d.ts.map |
\ | No newline at end of file |