/** Measures the rendered width (px) of `text` at the label font. */ export declare function measureTextWidth(text: string): number; /** * Splits `text` into lines that fit within `maxPx`, measuring each candidate. * A word wider than `maxPx` is broken mid-word with a hyphen (bpmn-js parity). */ export declare function wrapText(text: string, maxPx: number): string[]; //# sourceMappingURL=measure.d.ts.map