/** * Minimal structural axios surface. No axios dependency — works across 0.31 and 1.x. */ export interface AxiosLikeInstance { defaults: { baseURL?: string; }; interceptors: { request: { use(onFulfilled: (config: any) => any): unknown; eject?(id: unknown): void; }; response: { use(onFulfilled: (response: any) => any, onRejected?: (error: any) => any): unknown; eject?(id: unknown): void; }; }; } /** * Wire an axios instance into the journey engine (observation-only). * Call once per instance (idempotent). Register any async request interceptors * (e.g. auth) before this call so this one runs first. * Soft-skips when `instance` is missing or not axios-like — hosts can pass axios as-is. * Returns a restore function that disposes handlers (they no-op after restore). */ export declare function instrumentAxios(instance: AxiosLikeInstance | null | undefined): () => void; //# sourceMappingURL=axios.d.ts.map