import { Store } from 'redux'; import { ReadModel } from 'ts-eventsourcing/ReadModel/ReadModel'; import { Playhead } from '../../ValueObject/Playhead'; import { Identity } from 'ts-eventsourcing/ValueObject/Identity'; import { ReadModelAction, ReadModelMetadata } from '../ReadModelAction'; import { ActionStream } from '../ActionStream'; export declare class StoreReadModel = ReadModelMetadata, Action extends ReadModelAction = ReadModelAction> implements ReadModel { private readonly id; private readonly store; private lastPlayhead; private uncommittedActions; constructor(id: Id, store: Store, lastPlayhead: Playhead); getId(): Id; getStore(): Store; getPlayhead(): Playhead; getUncommittedActions(): ActionStream; }