import type { SessionUpdate } from "../../../poe-acp-client/dist/index.js"; import type { AcpEvent } from "./types.js"; export declare function mapAcpEventToSessionUpdates(event: AcpEvent): SessionUpdate[]; export interface TranscriptWriter { write(event: AcpEvent): Promise; close(): Promise; readonly filePath: string; } export interface TranscriptFsApi { mkdir(dir: string, options: { recursive: true; }): Promise; appendFile(path: string, contents: string): Promise; lstat(path: string): Promise<{ isSymbolicLink(): boolean; }>; } export interface CreateTranscriptWriterOptions { logPath?: string; logDir?: string; logFileName?: string; fs: TranscriptFsApi; pathJoin?: (...parts: string[]) => string; } export declare function createTranscriptWriter(options: CreateTranscriptWriterOptions): TranscriptWriter;