import type { ConfigPlugin } from "./config"; import { Logger } from "./logger"; export interface FetchOptions { url: string; headers?: Record; method?: string; body?: string; credentials?: "include" | "omit"; signal?: AbortSignal; } export declare function createHttpClientPlugin(configPlugin: ConfigPlugin, logger: Logger): { send: (options: FetchOptions) => Promise; retrySend: (options: FetchOptions) => Promise; retryRequest: (request: () => Promise) => Promise; };