import type { StreamChunk } from '@deepseek-ai/dsh-llm'; /** * Durable token event written by the legacy Harness session ABI. * * Harness 0.1.6 moved live chunks to `agent/assistant-stream` and removed * this member from `SessionEventMap`, but old persisted logs and supported * runtimes still expose it. Keep the retired envelope structural so the * adapter can read both generations without augmenting the new core union. */ export interface LegacyAssistantChunkEvent { readonly type: 'assistant/chunk'; readonly seq: number; readonly time: number; readonly data: { readonly turn: number; readonly step: number; readonly chunk: StreamChunk; }; } /** Narrow an unknown/session event to the retired durable chunk envelope. */ export declare function legacyAssistantChunkOf(event: unknown): LegacyAssistantChunkEvent | undefined; //# sourceMappingURL=sessionEvent.d.ts.map