import { Workspace } from '../agent-utils/index.js'; import { Timer } from './Timer.js'; import { DebugLlmReq } from './DebugLlmReq.js'; import { ChatMessage, ChatLogs } from '../agent-core/index.js'; interface DebugGoal { prompt: string; time: Timer; tokens: number; llmReqs: number; } interface DebugStep { time: Timer; message?: string; error?: string; llmTime: Timer; llmReqs: DebugLlmReq[]; } export declare class DebugLog { workspace: Workspace; private goal; private steps; private longestLlmReqs; constructor(workspace: Workspace); private get latestStep(); save(): Promise; goalStart(prompt: string): Promise; goalEnd(): Promise; stepStart(): Promise; stepEnd(): Promise; stepLog(message: string): Promise; stepError(error: string): Promise; stepLlmReq(time: Timer, chatLogs: ChatLogs, response?: ChatMessage): Promise; toString(): string; toJSON(): { goal: DebugGoal; steps: DebugStep[]; }; } export {};