import type { ChatMessage } from '../types/ChatMessage';
/**
 * Converts chat messages to JSON format
 *
 * @private utility of `<Chat/>` component
 */
export declare function messagesToJson(messages: ChatMessage[], shareUrl: string): string;
