export default function useMounted(): [boolean, () => boolean];