export declare function getCaretPosition(contentEditableElement: HTMLElement, docOrShadowRoot?: Document | ShadowRoot): number;
export declare function setCaretPosition(contentEditableElement: HTMLElement, caretPos: number, docOrShadowRoot?: Document | ShadowRoot): void;
