import { Identity } from 'ts-eventsourcing/ValueObject/Identity'; import { ReadModelAction, ReadModelMetadata } from '../ReadModelAction'; import { SimpleProjectorGateway } from './SimpleProjectorGateway'; /** * Only dispatched actions when store has a state change. */ export declare class DistinctProjectorGateway = ReadModelMetadata, Action extends ReadModelAction = ReadModelAction> extends SimpleProjectorGateway { dispatchActionAndSave(id: Id, action: Action): Promise; }