/** * @fileoverview Styled output creation utilities for Advanced Logger */ import type { LogLevel, StackInfo, DevToolsTheme, AdaptiveColors } from '../types/index.js'; import type { LogStyles } from '../types/index.js'; /** * Style configuration for each log level */ export interface LevelStyleConfig { emoji: string; label: string; background: string; color: string; border: string; shadow: string; } /** * Detects the current DevTools theme preference */ export declare function detectDevToolsTheme(): DevToolsTheme; /** * Gets adaptive color based on current DevTools theme */ export declare function getAdaptiveColor(colors: AdaptiveColors, theme?: DevToolsTheme): string; /** * Sets up theme change listener for dynamic updates */ export declare function setupThemeChangeListener(callback: (theme: DevToolsTheme) => void): (() => void) | null; /** * Creates styled console output with multiple %c formatters * Automatically adapts to browser or terminal environment */ export declare function createStyledOutput(level: LogLevel, levelStyles: Record, prefix: string | undefined, message: string, stackInfo: StackInfo | null, autoDetectTheme?: boolean, presetStyles?: LogStyles, presetName?: string): [string, ...string[]]; /** * Builds a terminal-friendly line using the ANSI helpers. Used when the * runtime is not a browser but supports ANSI codes (TTY, modern terminal). * * Layout: `[HH:MM:SS.mmm] [LEVEL] [prefix] message (file:line)` */ export declare function createTerminalOutput(level: LogLevel, message: string, timestamp?: string, prefix?: string, stackInfo?: StackInfo | null): [string, ...string[]]; //# sourceMappingURL=output.d.ts.map