import type { JsonObject, StepArchiveConfig } from "./types.js"; export interface StepRecord { tool: string; args: JsonObject; beforeUrl: string; afterUrl: string; beforeScreenshot?: string; afterScreenshot?: string; durationMs: number; error?: string; timestamp: number; } export interface StepRecordInput { tool: string; args: JsonObject; beforeUrl: string; afterUrl: string; beforeScreenshot?: string; afterScreenshot?: string; durationMs: number; error?: string; } export declare class StepArchive { private readonly steps; private readonly maxSteps; readonly screenshotQuality: number; constructor(config?: StepArchiveConfig); record(step: StepRecordInput): void; toJSON(): { steps: StepRecord[]; totalSteps: number; }; clear(): void; getSteps(): readonly StepRecord[]; }