import { PiClient } from "../types.js"; //#region src/client/httpClient.d.ts export interface PiHttpClientOptions { /** Base path/URL of the route layer. Default: `/api/pi`. */ baseUrl?: string; /** Injected `fetch` (defaults to the global). */ fetchImpl?: typeof fetch; /** Extra headers applied to every request (e.g. auth). */ headers?: Record; /** Non-fatal SSE stream errors (reconnects follow). */ onStreamError?: (error: unknown) => void; /** Reconnect backoff for the event stream; injectable for tests. */ reconnectDelay?: () => Promise; /** Delay before closing an idle shared event stream. Defaults to 30s. */ streamCloseDelayMs?: number; } export declare const createPiHttpClient: (options?: PiHttpClientOptions) => PiClient; //#endregion //# sourceMappingURL=httpClient.d.ts.map