import { UserType } from './UserType'; export declare type MessageType = { id: number | string; roomId: number; userId: string; message: string; createdAt: string; updatedAt: string; }; export declare type MessageConnectionType = { edges: MessageType[]; lastCursor: number | string | null; hasNext: boolean; }; export declare type ChatRoomDataType = { id: number | string; userId: string; name: string; lastReadtAt: string | null; createdAt: string; updatedAt: string; }; export declare type ChatRoomLoadingType = { loading: true; otherPartyId: string; }; export declare type ChatRoomReadyType = { loading: false; name: string; participants: UserType[]; active: boolean; messageConnection: MessageConnectionType; unreadMessageCount: number; roomData: ChatRoomDataType; newMsgArrived?: boolean; }; export declare type ChatRoomType = ChatRoomLoadingType | ChatRoomReadyType; //# sourceMappingURL=ChatType.d.ts.map