export default function useSelectionRange({ inputElement, inputValue, }: { inputElement: HTMLInputElement; inputValue: string; }): (event: any) => void;