///
export declare type Omit = Pick>;
export interface LeftRightStyle {
left: T;
right: T;
}
declare type renderFunction = () => JSX.Element;
export interface User {
_id: any;
name?: string;
avatar?: string | renderFunction;
}
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;
}
export declare type IChatMessage = IMessage;
export {};