import { Fun } from '@ephox/katamari'; export interface BehaviourState { /** This is for debug purposes only, and only used by the Alloy Inspector Chrome Plugin */ readState: () => any; } export interface BehaviourStateInitialiser { init: (config: C) => S; } const NoState: BehaviourStateInitialiser = { init: () => nu({ readState: Fun.constant('No State required') }) }; export interface Stateless extends BehaviourState { // Add placeholder here. } const nu = (spec: T): T => spec; export { nu as nuState, NoState };