/**
 * Text layer rendering for text selection.
 *
 * Two rendering modes:
 *
 * 1. **Hierarchical** (DOCX/PPTX/XLSX) — builds DOM mirroring the layout:
 *    frame → parcel → line → run, table → row → cell, grid → row → cell
 *
 * 2. **Flat** (PDF) — no layout structure, runs use transforms for positioning.
 *    Decomposes transforms into final pixel coordinates, no CSS transforms.
 *    Same approach as the search highlight code.
 */
import type { LayoutPage } from "../../../worker/index.js";
/**
 * Render a LayoutPage to a text layer element.
 */
export declare function renderTextToLayer(layer: HTMLDivElement, layout: LayoutPage | null | undefined, scale: number, _pageHeight: number): void;
//# sourceMappingURL=render.d.ts.map