import type { UICanvasRenderingContext2D } from "../../miscellaneous/canvas"; import type { UITextStyleConfig } from "../../miscellaneous/text-style/UITextStyle.Internal"; import type { UITextLine } from "./UIText.Interfaces"; /** * Renders single text chunk. * @param x X coordinate in pixels * @param y Y coordinate in pixels * @param text Chunk text * @param style Resolved text style * @param context Canvas rendering context */ export declare function renderTextChunk(x: number, y: number, text: string, style: UITextStyleConfig, context: UICanvasRenderingContext2D): void; /** * Renders text lines to canvas. * Chunks are laid out left to right after visual reordering, so x stays the left edge. * @param paddingTop Top padding in pixels * @param paddingLeft Left padding in pixels * @param lines Text lines to render * @param isRTL Whether the paragraph reads right to left * @param context Canvas rendering context */ export declare function renderTextLines(paddingTop: number, paddingLeft: number, lines: UITextLine[], isRTL: boolean, context: UICanvasRenderingContext2D): void;