import { RefObject } from 'react'; export declare const getSel: () => Selection | null; export declare const getRange: (idx?: number) => Range; export declare const setFontSize: (size: string) => void; export declare const getSelectionContainerElement: () => Node | null; export declare const restoreSelection: () => void; export declare const createRangeByElement: (elem: Node) => void; export declare function processList(): void; export declare function replaceDivWithP(editor: RefObject): (e: KeyboardEvent) => void;