import type { DomainEvent } from '@serenity-js/core/events'; import type { JSONObject } from 'tiny-types'; export declare class WorkerEventStreamReader { hasStream(pathToEventStreamFile: string): boolean; read(pathToEventStreamFile: string, mapper?: (input: { type: string; value: JSONObject; }) => { type: string; value: JSONObject; }): T[]; } //# sourceMappingURL=WorkerEventStreamReader.d.ts.map