import { LineRect } from './background-shape.js'; export type { LineRect }; /** Shared hidden measuring container (single instance per document). */ export declare const getHiddenElement: () => HTMLDivElement; export declare function isContentWrapping({ html }: { html: any; }): boolean; export declare function detectSize(html: any): { width: number; height: number; }; export declare function detectLineLayout(html: string): { rects: LineRect[]; width: number; height: number; }; /** Line rects only — see detectLineLayout when the size is needed too. */ export declare function detectLineRects(html: string): LineRect[];