/** * Replaces a substring in the given text node with a replacement node. * * @param textNode * The text node in which to replace the substring. This node will keep its place in the DOM and contain * the text following the substring that was replaced, even if that text is empty. * @returns * The offset in textNode following the substring to be replaced. If the splice succeeded, this will be 0. */ export declare function spliceTextNode(textNode: Text, offset: number, length: number, replacementNode: Node): number;