import type { ChatConversationViewNode, ChatSnapshot, TurnLocation } from '@deepseek-ai/dsh-client-runtime/client'; import type { FoldNodeDto, FoldTurnDto } from '../fold-core.ts'; /** Structurally validated subset of the host turn-tail payload. */ export interface ProjectedTurnTail { readonly finalSeq: number; readonly branchUnavailable: boolean; } /** Project one host turn into the DOM-independent facts consumed by FoldCore. */ export declare function projectTurn(chat: ChatSnapshot, turn: TurnLocation): FoldTurnDto; /** Project the host node kinds whose payload contributes to folding. */ export declare function projectNode(raw: ChatConversationViewNode): FoldNodeDto; /** Read only a complete, well-formed host closing contract. */ export declare function readTurnTail(value: unknown): ProjectedTurnTail | undefined; //# sourceMappingURL=snapshot-projector.d.ts.map