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