import type { AgentMessage } from "@mariozechner/pi-agent-core"; import { type TranscriptEvent } from "./session-transcript-schema.js"; export declare function sessionsDir(projectRoot: string): string; export declare function transcriptPath(projectRoot: string, sessionId: string): string; export declare function legacyBookSessionPath(projectRoot: string, sessionId: string): string; export declare function readTranscriptEvents(projectRoot: string, sessionId: string): Promise; export declare function nextTranscriptSeq(projectRoot: string, sessionId: string): Promise; export declare function appendTranscriptEvent(projectRoot: string, event: TranscriptEvent): Promise; export declare function appendTranscriptEvents(projectRoot: string, sessionId: string, buildEvents: (context: { readonly events: ReadonlyArray; readonly nextSeq: number; }) => ReadonlyArray | Promise>): Promise; export declare function appendManualSessionMessages(projectRoot: string, sessionId: string, messages: ReadonlyArray, input?: string): Promise; //# sourceMappingURL=session-transcript.d.ts.map