import { HttpClient as Got } from '../../lib/HttpClient'; export interface StackEntry { location: string; stack: string; timestamp: number; } export interface CapturedStackTrace { stacks: StackEntry[]; requestId: string; capturedAt: number; apiMethod?: string; } /** * Wrap an HttpClient instance with a Proxy that injects AsyncLocalStorage-derived stack context * into each request's options.context.__stackTrace. * It preserves the full surface of the original client instance (HTTP verb helpers, extend, etc.). */ export declare function createTrackedGot(gotInstance: Got): Got;