Read the text the user has selected on the page.
This is custom React hooks, you need to follow the Basic Rules when you use it.
Select some text of this page.
const useTextSelection = () => Selection | null