import type { State } from "./State"; import type { ActionMessage } from "../actions"; import type { ILeafReducer } from "./LeafReducer"; export default class DumbReducer> implements ILeafReducer> { private readonly key; private readonly providedState; constructor(keyOrState: string | State); leaf(): string; prepareState(o: any): any; defaultState(o?: any): S; }