@react-native-community/cli-tools
Version:
13 lines • 392 B
TypeScript
/// <reference types="node" />
/**
* 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?: RequestInit) => Promise<{
status: number;
data: any;
headers: Headers;
}>;
export { fetch, fetchToTemp };
//# sourceMappingURL=fetch.d.ts.map