import { User } from "./user";
/**
 * A abstract class that represents a message.
 *
 * You will usually want to check if it's a instance of `ChannelMessage` or `PrivateMessage`.
 */
export declare abstract class Message {
    /**
     * The user that send the message.
     */
    fromUser: string;
    /**
     * The message.
     */
    msg: string;
    /**
     * Unix timestamp in seconds.
     */
    t: number;
    /**
     * The id of the message.
     */
    id: string;
    /**
     * The user account related to this message.
     */
    accountUser: User;
    constructor(accountUser: User, fromUser: string, msg: string, t: number, id: string);
    /**
     * Wether this message is sent by the account user.
     */
    isOwnMessage(): boolean;
}
//# sourceMappingURL=message.d.ts.map