export declare const getFirstTextNode: (element: HTMLElement) => Node | null; export declare const checkTreeForContentEditable: (element: HTMLElement) => boolean; /** * Focuses an element * @param element The element to focus * @param offset The offset to move the cursor to * @param length The length between the start of the cursor and the end */ declare const focusElement: (element: HTMLElement, offset?: number, length?: number) => void; export default focusElement; //# sourceMappingURL=focusElement.d.ts.map