/** * Build-time transformation utility */ export function buildTimeTransform(cssText: any, options?: {}): { nativeCSS: string; runtimeCSS: string; hasRuntimeRules: boolean; stats: { totalRules: number; transformedRules: number; }; }; /** * Extract if() functions from CSS text */ export function extractIfFunctions(cssText: any): { fullFunction: any; content: any; start: any; end: number; }[]; /** * Parse CSS rules with proper handling of nested structures */ export function parseCSSRules(cssText: any): string[]; /** * Parse if() function content - supports both single conditions and multiple chained conditions */ export function parseIfFunction(content: any): { conditions: { conditionType: string; conditionExpression: string; value: string; }[]; elseValue: string; isMultipleConditions: boolean; }; /** * Parse a CSS rule and extract selector and properties */ export function parseRule(ruleText: any): { selector: any; properties: { property: any; value: any; }[]; } | null; /** * Runtime transformation utility (for integration with existing polyfill) */ export function runtimeTransform(cssText: any, element: any): { processedCSS: string; hasRuntimeRules: boolean; nativeCSS: string; }; /** * Transform property with if() to native CSS */ export function transformPropertyToNative(selector: any, property: any, value: any): { nativeCSS: string; runtimeCSS: string; hasRuntimeRules: boolean; }; /** * Transform CSS text to native CSS where possible */ export function transformToNativeCSS(cssText: any): { nativeCSS: string; runtimeCSS: string; hasRuntimeRules: boolean; stats: { totalRules: number; transformedRules: number; }; };