export class WordAtlas { constructor(device: any, words: any); placements: Map[]; texture: Texture; destroy(): void; measure(word: any, style?: number): any; render(render2d: any, word: any, x: any, y: any, style?: number, color?: number, maxWidth?: number): number; renderText(render2d: any, word: any, x: any, y: any, style: any, color: any, maxWidth: any): void; } import { Texture } from '../../platform/graphics/texture.js';