/** * CSS Utilities for Ty Components * Handles dynamic CSS loading into Shadow DOM */ import type { StyleContent } from '../types/common'; /** * Ensure CSS is loaded into a shadow root * Uses CSSStyleSheet API for efficient style sharing * * @param shadowRoot - The shadow root to attach styles to * @param styleContent - Style content with CSS text and optional ID */ export declare function ensureStyles(shadowRoot: ShadowRoot, styleContent: StyleContent): void; /** * Build CSS class list from properties * Filters out falsy values * * @param classes - Array of class names or falsy values * @returns Space-separated class string */ export declare function buildClassList(...classes: (string | false | null | undefined)[]): string; /** * Clear the style cache * Useful for testing or hot-reloading */ export declare function clearStyleCache(): void; //# sourceMappingURL=styles.d.ts.map