import { RegisteredFont, TextMeasureOptions } from './font-registry'; export interface WrapOptions extends TextMeasureOptions { maxWidth: number; breakLongWords?: boolean; maxLines?: number; ellipsis?: string; } export interface WrappedLine { text: string; width: number; truncated: boolean; } export declare function wrapText(font: RegisteredFont, text: string, options: WrapOptions): WrappedLine[]; export declare function splitIntoLines(text: string): string[]; export declare function measureBlockHeight(lineCount: number, fontSize: number, lineHeightFactor?: number): number;