import type { SessionEventRecord } from "./types.js"; export declare function appendSessionEvent(sessionId: string, event: SessionEventRecord): { lines: number; bytes: number; }; export declare function readSessionEventLines(sessionId: string, fromSeq?: number): string[]; export declare function readSessionEvents(sessionId: string, fromSeq?: number): SessionEventRecord[]; export declare function tailSessionEvents(sessionId: string, fromSeq: number, onLine: (line: string) => void, isTerminal: () => boolean, signal: AbortSignal): Promise;