export declare class ElementSelection { readonly type: string; readonly range?: Range; private constructor(); eq(selection?: ElementSelection): boolean; inside(el: HTMLElement): boolean; select(el: HTMLElement): ElementSelection; static fromWindow(win?: Window): ElementSelection; }