"use strict";

export class LayoutProcessorsStore {
  layoutProcessors = [];
  addProcessor(processor) {
    this.layoutProcessors.push(processor);
    return {
      remove: () => this.removeProcessor(processor)
    };
  }
  getProcessors() {
    return this.layoutProcessors;
  }
  removeProcessor(processor) {
    this.layoutProcessors.splice(this.layoutProcessors.indexOf(processor));
  }
}
//# sourceMappingURL=LayoutProcessorsStore.js.map