import type { CapturedExchange } from './proxy-types.js'; export type RequestMessage = { role: string; content?: string; name?: string; tool_call_id?: string; }; export declare class CapturedRequests { #private; constructor(exchanges: CapturedExchange[]); get length(): number; at(index: number): CapturedExchange; all(): CapturedExchange[]; forRoute(path: string): CapturedRequests; withToolCalls(): CapturedRequests; withToolResults(): CapturedRequests; toolNamesAt(index: number): string[]; toolCallsAt(index: number): Array<{ name: string; arguments: Record; }>; messagesAt(index: number): RequestMessage[]; toolResultAt(index: number, toolName: string): { content: string; tool_call_id: string; } | undefined; summary(): string; debugAt(index: number): string; private getRequestMessages; private getResponseToolCalls; }