export default class StateManager { state: StateType; constructor(state: StateType); appliedActions: { [K in ActionName]: AppliedActionResultType; }; applyAction: (action: (content: StateType, actions: { [K in ActionName]: AppliedActionResultType; }) => [StateType, NewActionName, AppliedActionResultType]) => StateManager; }