import { type DOMElement } from "../core/dom.js"; /** * Advances the squash cache epoch. * Cached results are valid only within one layout/render cycle. */ export declare const advanceSquashTextEpoch: () => number; /** * Consolidates multiple text nodes into a single string. * Useful for combining adjacent text nodes to minimize write operations. * Handles nested text nodes recursively and applies internal transformations. * * @param node - The root DOM element containing text nodes to squash. * @returns The consolidated text string. */ export declare const squashTextNodes: (node: DOMElement) => string;