import { EventTypeId } from './EventTypeId.js'; import { EventTypeGeneration } from './EventTypeGeneration.js'; /** * Represents the type of an event. */ export declare class EventType { readonly id: EventTypeId; readonly generation: EventTypeGeneration; readonly tombstone: boolean; /** Represents an unknown event type. */ static readonly unknown: EventType; constructor(id: EventTypeId, generation: EventTypeGeneration, tombstone?: boolean); /** @inheritdoc */ toString(): string; /** * Parse from a string representation of event type to actual type. * The expected format is id+generation. Ex: EmployeeHired+1. * @param input - The string representation to parse. * @returns The parsed EventType. */ static parse(input: string): EventType; } //# sourceMappingURL=EventType.d.ts.map