import { type ProjectionDefinition } from '@cratis/chronicle.contracts'; import type { Constructor } from '@cratis/fundamentals'; import type { CompiledProjectionDefinitions } from '../../projections/CompiledProjectionDefinitions.js'; import type { IReadModelProcessor } from '../IReadModelProcessor.js'; import type { ReadModelState } from '../ReadModelState.js'; import type { ScenarioEvent } from '../ScenarioEvent.js'; /** In-process interpreter of the validated, registered projection contract subset. */ export declare class ProjectionReadModelProcessor implements IReadModelProcessor { private readonly _model; private readonly _definition; private readonly _schema; private readonly _initial; private readonly _from; private readonly _removed; private readonly _join; private readonly _joinProperties; private readonly _children; private readonly _eventSchemas; private readonly _bindings; private _engineState; private _publicRead; constructor(_model: Constructor, compiled: CompiledProjectionDefinitions, _definition: ProjectionDefinition); /** A snapshot of the production-style in-memory sink, for kernel conformance fixtures. */ get engineState(): Record>; /** A schema-normalized keyed read, for kernel conformance fixtures. */ get publicRead(): Record>; process(events: readonly ScenarioEvent[]): Promise>>; private keyFor; private applyChild; private withAutoMap; private apply; private initialValues; private initialState; private identityState; private normalize; private materialize; } //# sourceMappingURL=ProjectionReadModelProcessor.d.ts.map