import { Guid } from '@dolittle/rudiments'; import { ConceptAs } from '@dolittle/concepts'; /** * Represents the unique identifier of a stream. */ export declare class StreamId extends ConceptAs { /** * Initialises a new instance of the {@link StreamId} class. * @param {Guid} id - The stream id. */ constructor(id: Guid); /** * Represents the event log. * * @static * @type {StreamId} */ static eventLog: StreamId; /** * Creates a {@link StreamId} from a {@link Guid} or a {@link string}. * @param {Guid | string} id - The stream id. * @returns {StreamId} The created stream id concept. */ static from(id: string | Guid | StreamId): StreamId; } //# sourceMappingURL=StreamId.d.ts.map