import { LogStyles, LogLevel } from '../types/index.js'; import { ANSIStyle, TerminalRenderer } from '../terminal/terminal-renderer.js'; export declare class CSS2ANSIAdapter { private renderer; constructor(); /** * Convert LogStyles to ANSIStyle for terminal rendering */ adaptStyles(level: LogLevel, message: string, timestamp?: string, prefix?: string, location?: string, styles?: LogStyles, presetName?: string): ANSIStyle; /** * Adapt production preset for terminal */ private adaptProductionStyles; /** * Adapt debug preset for terminal */ private adaptDebugStyles; /** * Adapt glassmorphism preset for terminal */ private adaptGlassmorphismStyles; /** * Convert CSS color values to ANSI-friendly colors */ adaptColor(cssColor: string): string; /** * Extract primary color from CSS gradient */ private extractColorFromGradient; /** * Convert CSS color names to ANSI-compatible names */ private cssNameToANSI; /** * Check if a style should be rendered in terminal */ shouldRenderStyle(styleType: string, styles?: LogStyles): boolean; /** * Get renderer instance for advanced usage */ getRenderer(): TerminalRenderer; } export declare const css2ansiAdapter: CSS2ANSIAdapter; /** * Convenience function for quick style adaptation */ export declare function adaptToTerminal(level: LogLevel, message: string, timestamp?: string, prefix?: string, location?: string, styles?: LogStyles, presetName?: string): ANSIStyle; //# sourceMappingURL=adapter.d.ts.map