import type { AgMessage } from '../../../ai/types.js'; export interface ChatMessage { id: string; content: string; sender: { id: string; name?: string; avatar?: string; status?: string; }; type?: 'text' | 'system' | string; timestamp?: Date | string | number; attachments?: Array<{ name?: string; type?: string; url?: string; }>; [legacy: string]: unknown; } export declare function toAgMessages(messages: readonly ChatMessage[], currentUserId: string | undefined, withFiles?: boolean): AgMessage[]; /** * 4.x `GlassChat` compat adapter (DEP-S0400). * @deprecated since 4.2.0, removed in 5.0.0. Use {@link Thread + Message + Composer from aura-glass/ai}. */ //# sourceMappingURL=_messages.d.ts.map