type IsMountedFunction = () => boolean; /** * Hook that tracks whether a component is mounted * Useful for preventing state updates on unmounted components * * @returns A function that returns true if the component is still mounted */ declare function useIsMounted(): IsMountedFunction; export { useIsMounted };