/** Staged file row emitted on `sendMessage` (internal shape from the composer). */ export type MessageSendFileItem = { id: string; name: string; mimetype: string; fileSize: number; content: File; objectUrl?: string; }; export type Component = { id?: string; style?: string; text?: string; expandable?: boolean; tags?: { label?: string; icon?: string; id: string; color?: string; }[]; files?: { mode: "single" | "multiple"; }; }; export type Events = { sendMessage: { text?: string; id: string; tags: string[]; files: MessageSendFileItem[]; }; };