import { StoreReadModel } from '../Model/StoreReadModel'; import { StoreFactory } from '../../Redux/Store/StoreFactory'; import { Identity } from 'ts-eventsourcing/ValueObject/Identity'; import { ReadModelAction, ReadModelMetadata } from '../ReadModelAction'; import { ActionRepositoryInterface } from '../ActionRepositoryInterface'; import { ActionStream } from '../ActionStream'; import { Observable } from 'rxjs'; export declare class InMemoryActionRepository = ReadModelMetadata, Action extends ReadModelAction = ReadModelAction> implements ActionRepositoryInterface { private readonly storeFactory; private actions; constructor(storeFactory: StoreFactory); create(id: Id): Promise>; save(model: StoreReadModel): Promise; has(id: Id): Promise; get(id: Id): Promise>; find(id: Id): Promise>; remove(id: Id): Promise; append(id: Id, eventStream: ActionStream): Promise; load(id: Id): ActionStream; loadFromPlayhead(id: Id, playhead: number): ActionStream; findAll(): Observable>; }