export interface Message {
    id: string;
    date: Date;
    userid: string;
    text: string;
}
export declare const ChatState: {
    readonly ACTIVE: 0;
    readonly ARCHIVE: 1;
    readonly SOFT_DELETE: 2;
};
export type ChatStateType = typeof ChatState[keyof typeof ChatState];
export declare const ChatType: {
    readonly DIRECT: "direct";
    readonly GROUP: "group";
    readonly GAME: "game";
};
export type ChatTypeType = typeof ChatType[keyof typeof ChatType];
export declare class ChatAggregate {
    id: string;
    type: ChatTypeType;
    name: string | null;
    gameId: string | null;
    createdBy: string | null;
    users: string[];
    messages: Message[];
    lastActivity: Date | null;
    createDate: Date;
    updateDate: Date;
    state: ChatStateType;
    archiveDate: Date | null;
}
//# sourceMappingURL=ChatAggregate.d.ts.map