import type { SessionUpdate } from "../../../poe-acp-client/dist/index.js";
export interface LogEntry {
    path: string;
    filename: string;
    agent?: string;
    timestamp?: Date;
}
export interface MalformedSpawnLogRecord {
    filePath: string;
    lineNumber: number;
    message: string;
}
export interface ReadSpawnLogOptions {
    strict?: boolean;
    onMalformedRecord?: (record: MalformedSpawnLogRecord) => void;
}
interface ListSpawnLogsOptions {
    agent?: string;
    limit?: number;
}
export declare function readSpawnLog(filePath: string, options?: ReadSpawnLogOptions): AsyncIterable<SessionUpdate>;
export declare function listSpawnLogs(options?: ListSpawnLogsOptions): Promise<LogEntry[]>;
export declare function findLatestLog(agent?: string): Promise<string | undefined>;
export declare function pickRandomLog(agent?: string): Promise<string | undefined>;
export declare function replaySpawnLog(filePath: string, options?: ReadSpawnLogOptions): Promise<void>;
export {};
