import type { DispatcherOptions, RequestOptions } from "../request.js"; import type EventEmitter from "node:events"; import type * as UndiciT from "undici"; export declare function generateTempFilePath(filePath: string): Promise; export declare function getBaseRequestOptions(requestUrl: string, { extraHeaders, abortSignal, queryParams }?: RequestOptions, dispatcherOrDispatcherOptions?: UndiciT.Dispatcher | DispatcherOptions): Promise<{ query?: Record | undefined; signal?: EventEmitter | AbortSignal | undefined; dispatcher: UndiciT.Dispatcher; headers: Record; throwOnError: true; }>; export declare function getHeaders(requestUrl: string, extraHeaders?: Record): Record; export declare function getAuthHeader(requestUrl: string): string | undefined; export declare function getProxyDispatcher(proxy: string, options: Omit): Promise; export declare function getPoolDispatcher(requestUrl: string, options: UndiciT.Pool.Options): Promise; export declare function getBasicDispatcher(options: UndiciT.Agent.Options): Promise; export declare function getBaseDispatcherOptions(timeout?: number, isTestDispatcher?: boolean): UndiciT.Client.Options; export declare function sanitizeUrl(requestUrl: string): string; export declare function handleError(e: Error, requestUrl: string): void; //# sourceMappingURL=request.d.ts.map