/// export declare type Omit = Pick>; export interface LeftRightStyle { left: T; right: T; } declare type renderFunction = (x: any) => JSX.Element; export interface User { _id: any; name?: string; avatar?: string | renderFunction; } export interface Reply { title: string; value: string; messageId?: any; } export interface QuickReplies { type: 'radio' | 'checkbox'; values: Reply[]; keepIt?: boolean; } export interface IMessage { _id: any; text: string; createdAt: Date | number; user: User; image?: string; video?: string; audio?: string; system?: boolean; sent?: boolean; received?: boolean; pending?: boolean; quickReplies?: QuickReplies; } export declare type IChatMessage = IMessage; export {};