export declare type MessageType = 'text' | 'markdown' | 'image' | 'event' | 'attachment' | 'news'; export declare type MessageChatId = string | '@all_group' | '@all_subscriber' | '@all'; export interface MessageOptions { chatId?: MessageChatId | MessageChatId[]; visibleToUser?: string | string[]; } export interface MessageSendObject { chatid?: string; msgtype: MessageType; visible_to_user?: string; } export interface MessageReplyObject { MsgType: MessageType; VisibleToUser?: string; } export declare abstract class Message { protected readonly msgType: MessageType; protected readonly chatId?: MessageChatId; protected readonly visibleToUser?: string; constructor({ chatId, visibleToUser }: MessageOptions); toSendObject(): MessageSendObject; toReplyObject(): MessageReplyObject; toSendString(): string; toReplyString(): string; }