/** * A class to walk through the text nodes of an element in reverse */ export declare class ReverseTextTreeWalker { currentNode: Node | null; private rootNode; /** * Create a new `ReverseTextTreeWalker` * @param node The node to start the walk from */ constructor(node: Node); /** * Get the next text node in the tree * @returns The next text node in the tree or undefined if there are no more nodes */ nextNode(): Node | null; } /** * Get the length of the last line of a contenteditable element * @param element The element to get the length of the last line from * @returns The length of the last line of the element */ declare const getLastLineLength: (element: HTMLElement) => number; export default getLastLineLength; //# sourceMappingURL=getLastLineLength.d.ts.map