import "../flex/index.js"; import { Font } from "./font.js"; import "../components/text.js"; import { GlyphWrapper } from "./wrapper/index.js"; import "./index.js"; import "../properties/index.js"; import { Signal } from "@preact/signals-core"; //#region node_modules/@pmndrs/uikit/dist/text/layout.d.ts export type GlyphLayoutLine = { charIndexOffset: number; charLength: number; nonWhitespaceCharLength: number; nonWhitespaceWidth: number; whitespacesBetween: number; }; export type GlyphProperties = Partial<{ letterSpacing: number | string; lineHeight: number | string; fontSize: number | string; wordBreak: WordBreak; whiteSpace: WhiteSpace; tabSize: number; }>; export type WhiteSpace = 'normal' | 'collapse' | 'pre' | 'pre-line'; export type WordBreak = keyof typeof wrappers; export type GlyphOutProperties = { text: string; font: Font; letterSpacing: number; lineHeight: number; fontSize: number; wordBreak: WordBreak; }; declare const wrappers: { 'keep-all': GlyphWrapper; 'break-all': GlyphWrapper; 'break-word': GlyphWrapper; }; //#endregion