import * as mongoDB from "mongodb";
import { MongoObject } from "./MongoObject";
import { OwnerItem } from "./OwnerItem";
import { RemoveStatusItem } from "./RemoveStatusItem";
export declare class ChatMessage extends MongoObject {
    private static readonly _messageId;
    private static readonly _groupId;
    private static readonly _sender;
    private static readonly _message;
    private static readonly _tsCreate;
    private static readonly _tsLastUpdate;
    private static readonly _removeStatus;
    private readonly messageId;
    private readonly groupId;
    private sender;
    private message;
    private tsCreate;
    private tsLastUpdate;
    private removeStatus;
    constructor(result: mongoDB.WithId<mongoDB.Document>, collection: mongoDB.Collection<mongoDB.Document>);
    private setDocumentChatMessage;
    getMessageId(): string;
    getGroupId(): string;
    getSender(): OwnerItem;
    setSender(senderId: string, senderType: number): void;
    getMessage(): string;
    setMessage(message: string): void;
    getTsCreate(): number;
    setTsCreate(tsCreate: number): void;
    getTsLastUpdate(): number;
    setTsLastUpdate(tsLastUpdate: number): void;
    getRemoveStatus(): RemoveStatusItem;
    setRemoveStatus(tsRemove: number, reason?: string): void;
}
