import type { DataPath } from '@galacean/effects-specification'; /** Generate a 32-char hex GE entity id (UUID v4 with dashes stripped). */ export declare function createId(): string; /** Wrap an id into a `{ id }` GE DataPath reference. */ export declare function toDataPath(id: string): DataPath; /** Round a number to the given decimal precision (default 4). */ export declare function roundNumber(value: number, precision?: number): number; /** Linear interpolation between `a` and `b` by `factor` ∈ [0, 1]. */ export declare function lerp(a: number, b: number, factor: number): number; /** * Rough text width estimate used when the IR layer does not record a * measured width. Average character width ≈ 0.6 × fontSize. */ export declare function estimateTextWidth(text: string, fontSize: number, letterSpacing?: number): number;