/** Validates the host-owned durable chat marker and its deterministic request identity. * A valid shape is not an authorization grant; readers must also check the stored * message's producer, agent, room and requester before using its outcomes. */ import type { UUID } from "./types/primitives.js"; export declare function normalizeChatIdempotencyKey(value: unknown, maxKeyLength?: number): string | null; export declare function conversationClientUserMemoryId(scope: string, clientMessageId: string): UUID; export interface DurableConversationChatMarker { version: 1; scope: string; clientMessageId: string; fingerprint: string; outcomeJson?: string; /** Private evidence owned by this exact user turn, never a public outcome. */ replyRecoveryJson?: string; } export declare function readDurableConversationChatMarker(value: unknown): DurableConversationChatMarker | null;