import type { TextOptions, TextGeometryInfo, TextLayoutResult } from '../core/types'; import type { LoadedFont } from '../core/types'; export declare class MeshGeometryBuilder { private geometryBuilder?; private textLayout?; private loadedFont; private fontId; constructor(loadedFont: LoadedFont, fontId: string); setFont(loadedFont: LoadedFont, fontId: string): void; build(layout: TextLayoutResult, options: TextOptions): TextGeometryInfo; getCacheSize(): number; clearCache(): void; reset(): void; private finalizeGeometry; private applyColorSystem; private calculateGlyphBounds; private createGlyphAttributes; }