import { RunTraceRecorder, type RunTraceEventV1 } from "@catui/agent-core"; export declare class SessionRunTrace { private _snapshot; private _path; get snapshot(): readonly RunTraceEventV1[] | undefined; get path(): string | undefined; run(cwd: string, sessionId: string, setRecorder: (recorder: RunTraceRecorder | undefined) => void, execute: () => Promise, onError: (error: unknown) => void): Promise; }