import type { TextFormat, TextShaperBackend } from '@flighthq/types/contract'; export declare function getTextShaperBackend(): TextShaperBackend | null; export declare function measureText(text: string, format: Readonly): number; export declare function setTextShaperBackend(backend: TextShaperBackend | null): void; //# sourceMappingURL=textShaper.d.ts.map