/** * Convert a canonical internal style key into a CSS property name. * * @param propCanon - Canonical property name (camelCase or `--custom-prop`). * @returns CSS property name suitable for serialized styles. */ export declare function canon_to_css_prop(propCanon: string): string; /** * Normalize a CSS style property key into a canonical form used internally * by the style system. * * This function exists to collapse the many ways a developer might specify * a CSS property into a single, predictable representation before it is * applied or removed. * * Accepted input forms: * - camelCase (e.g. `backgroundColor`) * - kebab-case (e.g. `background-color`) * - vendor-prefixed kebab-case (e.g. `-webkit-user-select`) * - CSS custom properties (e.g. `--my-var`) * * Normalization rules: * - Custom properties (`--*`) are returned unchanged. * - Known CSS aliases (e.g. `"float"`) are mapped explicitly * (e.g. → `"cssFloat"`). * - Vendor-prefixed kebab-case properties are converted to their * CSSOM-style camelCase equivalents (e.g. `-webkit-foo-bar` → `WebkitFooBar`). * - Standard kebab-case properties are converted to camelCase. * - Already-camelCase properties are returned as-is. * * This canonical form is used consistently across: * - Proxy-based setters (`style.set.backgroundColor(...)`) * - String-based setters (`setProp("background-color", ...)`) * - Bulk setters (`setMany({ backgroundColor: ..., "background-color": ... })`) * * @param raw * A raw CSS property key in camelCase, kebab-case, vendor-prefixed, * or custom-property form. * * @returns * A canonicalized property key suitable for internal style application. * Returns an empty string if the input trims to empty. */ export declare function normalize_css_key(raw: string): string; export declare function normalize_css_value(prop: string, value: string): string; //# sourceMappingURL=normalize-css.d.ts.map