/** * Something about the Selection/Range API in browsers. * If you want to use Highlighter in some old browsers, you may use a polyfill. * https://caniuse.com/#search=selection */ import { SelectionDirection } from '../../types'; export declare const getSelectionDirection: (selection: Selection) => SelectionDirection; export declare const getDomRange: () => [Range, SelectionDirection]; export declare const removeSelection: () => void;