import { ReducerMaybeWithAction } from '../../types'; /** * Toggles the boolean state if there is not an action passed in * else it sets the state to the action's passed value * @param {boolean} state - Current state of the reducer * @param {*=} action - Optional dispatched action * @returns {boolean} - The nextState of the reducer */ declare const toggleBooleanReducer: ReducerMaybeWithAction; export default toggleBooleanReducer;