import { AggregateId } from '../../api/tactical/aggregate/aggregate-id'; export declare abstract class Message { private readonly aggregateId; protected readonly messageType: string; private readonly messageId; protected constructor(aggregateId: I, messageType: string, messageId?: string); getMessageType(): string; getAggregateId(): I; getMessageId(): string; toString(): string; equalsByType(message: Message): boolean; equals(message: Message): boolean; ofMessageType(messageType: string): boolean; ofMessageType(messageTypes: Array): boolean; private isMessageType; }