/** * Smart type coercion: converts common shorthand formats to GDScript-compatible values. * * Supported conversions: * - Hex color strings (#RGB, #RRGGBB, #RRGGBBAA) → "Color(r, g, b, a)" * - Named CSS colors (13 most common) → "Color(r, g, b, a)" * - Comma-separated numbers ("x,y") → {x, y} / "x,y,z" → {x, y, z} * - Rect2-like objects ({x, y, w, h}) → "Rect2(x, y, w, h)" */ /** * Smart type coercion: converts common shorthand formats to GDScript-compatible values. * Returns the coerced value or the original if no coercion applies. */ export declare function smartCoerce(value: unknown): unknown; /** * Detect Rect2-like objects with {x, y, w, h} keys. */ export declare function coerceRect2(value: unknown): unknown;