import { StoreRepositoryInterface } from '../StoreRepositoryInterface'; import { Identity } from 'ts-eventsourcing/ValueObject/Identity'; import { ServerGatewayInterface } from '../../Gateway/ServerGatewayInterface'; import { ProjectorGatewayInterface } from '../ProjectorGatewayInterface'; import { ReadModelAction, ReadModelMetadata } from '../ReadModelAction'; export declare class SimpleProjectorGateway = ReadModelMetadata, Action extends ReadModelAction = ReadModelAction> implements ProjectorGatewayInterface { protected readonly repository: StoreRepositoryInterface; protected readonly gateway: ServerGatewayInterface; constructor(repository: StoreRepositoryInterface, gateway: ServerGatewayInterface); dispatchActionAndSave(id: Id, action: Action): Promise; }