import IFetchRequest from "./IFetchRequest"; /** * Do the fetch requests. * It allows a service to implement its own fetch with instrumentation. */ export default class FetchRequest implements IFetchRequest { /** * Agent instance for connection reuse */ private readonly agent; /** * Create new instance of FetchRequest */ constructor(); /** * Do fetch call * @param url to fetch * @param callingMethodName Calling method name * @param options fetch options */ fetch(url: string, _callingMethodName: string, options: any): Promise; }