/** Minimal structural fetch shape. */ type FetchLike = (input: any, init?: any) => Promise<{ status: number; }>; /** Holder of a `fetch` property — globalThis by default, or a scoped object. */ interface FetchTarget { fetch: FetchLike; } export interface InstrumentFetchOptions { /** Object whose `fetch` is wrapped. Defaults to globalThis. */ target?: FetchTarget | null; /** Home API base URL for request-key origin resolution. */ baseURL?: string; } /** * Wrap a target's fetch so requests inside a journeyStep are attributed and timed. * Call once per target (idempotent — second call is a no-op). Returns a restore * function that puts the original fetch back. Observation-only. * Soft-skips when the resolved target is missing or has no callable `fetch`. */ export declare function instrumentFetch(options?: InstrumentFetchOptions | null): () => void; export {}; //# sourceMappingURL=fetch.d.ts.map