import type { AnyStringRecord, AnyFunction } from '../../@types'; import type { ErrorResponseData } from '../response'; import type { BiuRequestSupportEnvironments } from './const.request'; import type { ConstructorOfRequestEngine } from './engine.request'; declare type FetchLike = AnyFunction | typeof fetch; /** * @refer https://fetch.spec.whatwg.org/ * @refer https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch * @refer https://developer.mozilla.org/en-US/docs/Web/API/fetch * @refer https://undici.nodejs.org/#/?id=undicifetchinput-init-promise */ export declare const createFetchRequestEngine: = ErrorResponseData, SendData = any>(fetchLike: FetchLike, environment: BiuRequestSupportEnvironments) => ConstructorOfRequestEngine; export declare const WebFetchRequestEngine: ConstructorOfRequestEngine, any>; export declare const createNodeFetchRequestEngine: (fetchLike: FetchLike) => ConstructorOfRequestEngine; export {}; //# sourceMappingURL=engine__fetch.request.d.ts.map