import {IEvent} from '../core/IEvent'; export interface ISink { createEvent(event: IEvent): Promise; commit(): Promise }