///
/**
* Import DOM types for this module _just_ to expose adequate types for
* fetch interfaces
*/
import { HttpClient } from '../../http-client';
/**
* @internal
*/
export declare class FetchClient implements HttpClient {
private maxConcurrentRequests;
private requestIntervalMs;
private pendingRequests;
private timeout;
withTimeout(timeout?: number): this;
get(url: string, config?: {
headers: Record;
}): Promise;
delete(url: string, config?: {
headers: Record;
}): Promise;
head(url: string, config?: {
headers: Record;
}): Promise;
post(url: string, data?: unknown, config?: {
headers: Record;
}): Promise;
put(url: string, data?: unknown, config?: {
headers: Record;
}): Promise;
patch(url: string, data?: unknown, config?: {
headers: Record;
}): Promise;
private request;
private isBuffer;
private waitInQueue;
}