/** * 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 */ export declare const getDomRange: () => Range; export declare const removeSelection: () => void; /** * select the given wrappers as a whole * the highlighted text may be split into several wrappers, * so only the range they cover is restored */ export declare const restoreSelection: ($nodes: HTMLElement[]) => void;