/**
 * Returns a safe state by making sure the given value is not null or undefined
 */
declare const useDefaultedState: <TValue>(defaultValue: TValue, initialState?: TValue) => (TValue | ((nextState: TValue) => void))[];
export default useDefaultedState;
