/** * Function that reduces previous and next state to single value. */ export declare type Detector = (prevState: TState | undefined, nextState: TState | undefined) => TResult; /** * Function that compares previous and next state and can return action, array of actions or nothing. */ export declare type ActionsDetector = Detector; /** * Function that compares previous and next state and returns boolean value */ export declare type ConditionDetector = Detector;