import { Got } from 'got';
export interface StackEntry {
    location: string;
    stack: string;
    timestamp: number;
}
export interface CapturedStackTrace {
    stacks: StackEntry[];
    requestId: string;
    capturedAt: number;
    apiMethod?: string;
}
/**
 * Wrap a got 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 got instance (HTTP verb helpers, extend, etc.).
 */
export declare function createTrackedGot(gotInstance: Got): Got;
