interface RequestOptions { params?: Record; signal?: AbortSignal; headers?: Record; body?: Object | null; mode?: RequestMode; cache?: RequestCache; credentials?: RequestCredentials; ignoreSsl?: boolean; debug?: boolean; [key: string]: any; } /** * Creates a request. * * @param {string} method Http method. * @param {string} url The URL to send the request to. * @param {RequestOptions} options params, headers, ignoreSsl, and other options supported by fetch. * @return {Promise} The response promise. */ declare function request(method: string, url: string, options?: RequestOptions): Promise; export default request; export type { RequestOptions }; //# sourceMappingURL=request.d.ts.map