You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
450 B
13 lines
450 B
import { RequestInit as FetchOptions, Request, Headers } from 'node-fetch';
|
|
/**
|
|
* Downloads the given `url` to the OS's temp folder and
|
|
* returns the path to it.
|
|
*/
|
|
declare const fetchToTemp: (url: string) => Promise<string>;
|
|
declare const fetch: (url: string | Request, options?: FetchOptions | undefined) => Promise<{
|
|
status: number;
|
|
data: any;
|
|
headers: Headers;
|
|
}>;
|
|
export { fetch, fetchToTemp };
|
|
//# sourceMappingURL=fetch.d.ts.map
|