export declare function getSelection(state: any): any;
export declare function getSelectionRange(state: any): any;
export declare function isStyleActive(style: string, doc: Document): boolean;
export interface SelectionInfo {
    startBlock: Element;
    endBlock: Element;
    isMultiBlock: boolean;
    originalStart: Node;
    originalEnd: Node;
    originalStartOffset: number;
    originalEndOffset: number;
    parent: Element;
}
export declare function analyzeSelection(doc: Document, range: Range): SelectionInfo | null;
export declare function restoreSelection(doc: Document, range: Range, selection: Selection, info: SelectionInfo, fallbackNode?: Node): void;
export declare function getBlocksBetween(startBlock: Element, endBlock: Element): Element[];
//# sourceMappingURL=selection.d.ts.map