import type { RuntimeSessionEvent } from './session.js'; import type { RuntimeEventStore, RuntimeEventStoreQuery, RuntimeObservation, RuntimeStoreEntry } from './enterprise-runtime.js'; import { type RuntimeReplay } from './enterprise-runtime.js'; export interface RuntimeSessionRecording { entries: RuntimeStoreEntry[]; observations: RuntimeObservation[]; events: RuntimeSessionEvent[]; replay: RuntimeReplay; toJSONL(): string; } export interface MemorySessionRecorder extends RuntimeEventStore { entries(): RuntimeStoreEntry[]; recording(query?: RuntimeEventStoreQuery): RuntimeSessionRecording; clear(): void; } export declare function createMemorySessionRecorder(): MemorySessionRecorder; export declare function createSessionRecording(entries: Iterable): RuntimeSessionRecording; export declare function loadSessionRecording(store: RuntimeEventStore, query?: RuntimeEventStoreQuery): Promise;