/// import { URL } from 'url'; import { FetchInjection } from './fetch_injection'; import { FetchOptions } from './fetch_options'; import { FetchResponse, ParsedJson } from './fetch_response'; /** * Fetches an external resources * * @param {{ res: ResponseLike }} for locals access * @param {URL} url to fetch from * @param {FetchOptions} options of options to pipe to #createOptions * * @returns {Promise} the promise for this fetch */ export declare function fetchExternal({ res }: Readonly, url: Readonly, options?: Readonly): Promise>; export default fetchExternal;