import { PureModel } from '../PureModel'; import { IPatch } from './IPatch'; export interface IMetaPatchesCollection { applyPatch(patch: IPatch): void; undoPatch(patch: IPatch): void; onPatch(listener: (patch: IPatch) => void): () => void; }