import { InitialState, StateDispatch } from '../types'; type DefaultReturn = [state: T, setState: StateDispatch, revert: () => void]; /** `setState` wrapper to "reset" your state back to a default values * @param initialState - The initial state to store * @returns an array of: * - the state value * - a function to update the state * - a function to revert the state back to it's initial value */ export declare function useDefaultState(initialState: InitialState): DefaultReturn; export {};