/**
 * the HighlightRange Class（HRange）
 * It's a special object called HRange in Highlighter,
 * represents for a piece of chosen dom
 */
import type { DomNode, HookMap, BrowserWindow } from '../../../types';
import type Hook from '../../../util/hook';
import HighlightSource from '../../../model/source/index';
declare class HighlightRange {
    static removeDomRange: (_window?: BrowserWindow) => void;
    start: DomNode;
    end: DomNode;
    text: string;
    id: string;
    frozen: boolean;
    constructor(start: DomNode, end: DomNode, text: string, id: string, frozen?: boolean);
    static fromSelection(idHook: Hook<string>, _window?: BrowserWindow): HighlightRange;
    serialize($root: Document | HTMLElement, hooks: HookMap): HighlightSource;
}
export default HighlightRange;
