import type { Message } from "../sdk/ai/index.js"; export declare function serializeConversation(messages: Message[]): string; export declare function nowTimestamp(): string; export declare const MAX_RECORD_CONTENT_CHARS = 10000; export declare function truncateRecordContent(content: string): string; export type RenderableEntry = { type: string; id?: string; timestamp?: string; message?: unknown; customType?: string; content?: unknown; summary?: unknown; }; export declare function serializeBranchEntries(entries: RenderableEntry[]): string; export type SourceAddressedSerialization = { text: string; sourceEntryIds: string[]; }; export declare const DURABLE_SOURCE_ENTRY_ID_PREFIX = "srcv1:"; export declare function durableSourceEntryId(entry: RenderableEntry): string | undefined; export declare function sourceEntryReferenceIds(entry: RenderableEntry): string[]; export declare function serializeSourceAddressedBranchEntries(entries: RenderableEntry[]): SourceAddressedSerialization; export declare function renderRecallSourceEntry(entry: RenderableEntry): string | null; export declare function renderRecallSourceEntries(entries: RenderableEntry[]): string; //# sourceMappingURL=serialize.d.ts.map