import type { AIServerMessage } from '../../types/ai';
export declare const generateId: () => `${string}-${string}-${string}-${string}-${string}`;
export declare const parseAIMessage: (raw: unknown) => import("..").AIClientMessage | null;
export declare const serializeAIMessage: (msg: AIServerMessage) => string;
