import { Reducer } from '@reduxjs/toolkit'; import { Action } from '.'; export interface SystemSubscription { filter: (action: Action) => boolean; map: (action: Action) => any; } export declare type SystemSubscriptions = { [key: string]: SystemSubscription; }; export interface System { reducer: Reducer; actions: any; state: T; deps: System[]; subscriptions?: SystemSubscriptions; }