import { type ScriptContext } from '../measure/script.js'; /** * Paint `text`, a word with no letter, in `script` with `paint` (the * caller's `fillText`) at `x`, `y`: its left end on a left-to-right page, * the start of its box in a mirrored frame. `rtl`: the word is a * right-to-left run, and the caller has set the context right to left and * aligned on its left edge (`fillSegmentWord`). The context's font, fill, * letter-spacing and direction are the caller's; they are left as found. */ export declare function fillScriptWord(ctx: CanvasRenderingContext2D, text: string, script: ScriptContext, rtl: boolean, x: number, y: number, paint: (text: string, x: number, y: number) => void): void; //# sourceMappingURL=scriptText.d.ts.map