import { IInitialState, INextState } from '../util/resolveHookState';
/**
 * Like `useSafeState`, but can only become `true` or `false`.
 *
 * State setter, in case called without arguments, will change the state to opposite.
 *
 * @param initialState Initial toggle state, defaults to false.
 */
export declare function useToggle(initialState?: IInitialState<boolean>): [boolean, (nextState?: INextState<boolean>) => void];
