/** * useSafeSetState * @description set state but ignores if component has already unmounted * @see {@link https://rooks.vercel.app/docs/hooks/useSafeSetState} */ import { SetStateAction, Dispatch } from "react"; declare function useSafeSetState(initialState: T): [T, Dispatch>]; export { useSafeSetState };