import { Guid } from '@dolittle/rudiments'; import { ConceptAs } from '@dolittle/concepts'; /** * Defines the types that can be converted into a {@link EventTypeId}. */ export declare type EventTypeIdLike = Guid | string | EventTypeId; /** * Represents the unique identifier of an event type. */ export declare class EventTypeId extends ConceptAs { /** * Initialises a new instance of the {@link EventTypeId} class. * @param {Guid} id - The event type id. */ constructor(id: Guid); /** * Creates an {@link EventTypeId} from a {@link Guid} or a {@link string}. * @param {EventTypeIdLike} id - The event type id. * @returns {EventTypeId} The created event type id concept. */ static from(id: EventTypeIdLike): EventTypeId; } /** * Checks whether or not an object is an instance of {@link EventTypeId}. * @param {any} object - The object to check. * @returns {boolean} True if the object is an {@link EventTypeId}, false if not. */ export declare const isEventTypeId: (object: any) => object is EventTypeId; //# sourceMappingURL=EventTypeId.d.ts.map