import type { CssMap } from "../../../../core/style.types.js"; /******* * Serialize a style object into a CSS declaration list string. * * Purpose: * - Converts an internal `StyleObject` (dictionary of properties → values) * into a browser-compatible declaration list suitable for `style=""` * or for emitting inline styles. * * Output format: * - Uses `kebab-case` property names for non-custom properties. * - Preserves custom properties (`--foo`) verbatim as keys. * - Produces declarations in a deterministic order (sorted by final key). * - Produces a compact string with: * - one space after `:` * - declarations separated by `"; "` * - no trailing semicolon at the end * * Normalization: * - Skips null/undefined values. * - Trims stringified values. * - Skips empty values after trimming. * - Strips any trailing semicolons from values to avoid `;;` output. * * Nested rule maps are not inline declarations and are rejected. * * @param style - Style object mapping property names to values (or undefined). * @returns A CSS declaration list string, or `""` when there is nothing to emit. *******/ export declare function serialize_style(style: CssMap | undefined): string; //# sourceMappingURL=serialize-style.d.ts.map