import { type IVector2Like } from "@babylonjs/core/Maths/math.like.js"; import { type SdfTextLine } from "./sdf/line.js"; import { type SdfGlyph } from "./sdf/glyph.js"; export interface ISdfTextParagraphMetrics { /** @internal */ readonly paragraph: string; /** @internal */ readonly lines: SdfTextLine[]; /** @internal */ readonly width: number; /** @internal */ readonly height: number; /** @internal */ readonly glyphs: SdfGlyph[]; } /** @internal */ export type ParagraphOptions = { maxWidth: number; lineHeight: number; letterSpacing: number; tabSize: number; whiteSpace: "pre-line"; textAlign: "left" | "right" | "center"; translate: IVector2Like | undefined; customLayoutEngine?: (text: string, options: ParagraphOptions) => ISdfTextParagraphMetrics; }; /** @internal */ export declare const DefaultParagraphOptions: ParagraphOptions;