import { type PreparedTextWithSegments } from '@chenglou/pretext'; /** * `prepareWithSegments(text, font)` measured in the language the engine * measures in (`setMeasureLanguage`). With the host's language and a * library whose context was never given another, the call is the one it * always was. */ export declare function prepareInLanguage(text: string, font: string): PreparedTextWithSegments; /** Whether the library's context was found and follows the engine's * language (for tests and diagnostics). */ export declare function pretextLanguageState(): 'unasked' | 'followed' | 'unreachable'; //# sourceMappingURL=pretextLanguage.d.ts.map