import { LogLevel, CLILogLevel, Verbosity } from './types/index.js'; import { LevelStyleConfig } from './utils/index.js'; /** * Default configuration values */ export declare const DEFAULT_CONFIG: { readonly verbosity: "info"; readonly enableColors: true; readonly enableTimestamps: true; readonly enableStackTrace: true; readonly theme: "default"; readonly bannerType: "simple"; readonly bufferSize: 1000; readonly autoDetectTheme: true; readonly outputFormat: "auto"; }; /** * Basic level styles for core module (minimal CSS styling) */ export declare const LEVEL_STYLES: Record; /** * Maximum allowed buffer sizes for performance */ export declare const BUFFER_LIMITS: { readonly MIN_SIZE: 50; readonly DEFAULT_SIZE: 1000; readonly MAX_SIZE: 10000; }; /** * Export format definitions with extensions */ export declare const EXPORT_FORMATS: { readonly json: { readonly extension: ".json"; readonly mimeType: "application/json"; }; readonly csv: { readonly extension: ".csv"; readonly mimeType: "text/csv"; }; readonly markdown: { readonly extension: ".md"; readonly mimeType: "text/markdown"; }; readonly plain: { readonly extension: ".txt"; readonly mimeType: "text/plain"; }; readonly html: { readonly extension: ".html"; readonly mimeType: "text/html"; }; }; /** * CLI command definitions */ export declare const CLI_COMMANDS: { readonly config: "config"; readonly help: "help"; readonly themes: "themes"; readonly banners: "banners"; readonly banner: "banner"; readonly status: "status"; readonly reset: "reset"; readonly demo: "demo"; readonly export: "export"; readonly copy: "copy"; readonly 'buffer-size': "buffer-size"; readonly 'clear-buffer': "clear-buffer"; readonly 'buffer-info': "buffer-info"; }; /** * Time parsing constants for relative time filters */ export declare const TIME_UNITS: { readonly ms: 1; readonly s: 1000; readonly m: number; readonly h: number; readonly d: number; }; /** * Default styling values */ export declare const STYLE_DEFAULTS: { readonly FONT_FAMILY: "Monaco, Consolas, monospace"; readonly FONT_SIZE: "12px"; readonly BORDER_RADIUS: "4px"; readonly PADDING: "4px 8px"; }; /** * Level priority mapping for filtering */ export declare const LEVEL_PRIORITIES: Record; /** * Adaptive color configurations for DevTools theme compatibility */ export declare const ADAPTIVE_COLORS: { readonly timestamp: { readonly light: "#666666"; readonly dark: "#a0a0a0"; }; readonly messageText: { readonly light: "#2d3748"; readonly dark: "#f7fafc"; }; readonly prefix: { readonly light: "#2d3748"; readonly dark: "#e2e8f0"; }; readonly prefixBackground: { readonly light: "#2d3748"; readonly dark: "#4a5568"; }; readonly location: { readonly light: "#718096"; readonly dark: "#a0aec0"; }; }; /** * Presets específicos para diferentes entornos de build */ export declare const BUILD_PRESETS: { /** * Configuración optimizada para Next.js builds */ readonly nextjs: { readonly verbosity: "info"; readonly enableColors: true; readonly enableTimestamps: false; readonly enableStackTrace: false; readonly autoDetectTheme: false; readonly outputFormat: "build"; }; /** * Configuración para Webpack builds */ readonly webpack: { readonly verbosity: "info"; readonly enableColors: true; readonly enableTimestamps: true; readonly enableStackTrace: false; readonly autoDetectTheme: false; readonly outputFormat: "build"; }; /** * Configuración para CI/CD environments */ readonly ci: { readonly verbosity: "info"; readonly enableColors: false; readonly enableTimestamps: true; readonly enableStackTrace: true; readonly autoDetectTheme: false; readonly outputFormat: "ci"; }; /** * Configuración para desarrollo terminal */ readonly terminal: { readonly verbosity: "debug"; readonly enableColors: true; readonly enableTimestamps: true; readonly enableStackTrace: true; readonly autoDetectTheme: false; readonly outputFormat: "ansi"; }; }; /** * Mapeo de variables de entorno a presets */ export declare const ENVIRONMENT_DETECTION: { readonly isNextJS: string | boolean; readonly isWebpack: string | boolean; readonly isCI: string | false | undefined; readonly isBuild: boolean; readonly isTerminal: boolean; }; /** * Auto-detects the best preset based on current environment */ export declare function detectEnvironmentPreset(): keyof typeof BUILD_PRESETS; /** * Gets the optimal configuration for current environment */ export declare function getOptimalConfig(): { verbosity: "info"; enableColors: true; enableTimestamps: false; enableStackTrace: false; autoDetectTheme: false; outputFormat: "build"; theme: "default"; bannerType: "simple"; bufferSize: 1000; } | { verbosity: "info"; enableColors: true; enableTimestamps: true; enableStackTrace: false; autoDetectTheme: false; outputFormat: "build"; theme: "default"; bannerType: "simple"; bufferSize: 1000; } | { verbosity: "info"; enableColors: false; enableTimestamps: true; enableStackTrace: true; autoDetectTheme: false; outputFormat: "ci"; theme: "default"; bannerType: "simple"; bufferSize: 1000; } | { verbosity: "debug"; enableColors: true; enableTimestamps: true; enableStackTrace: true; autoDetectTheme: false; outputFormat: "ansi"; theme: "default"; bannerType: "simple"; bufferSize: 1000; }; /** * CLI log level to internal verbosity mapping * @since 5.0.0 */ export declare const CLI_LEVEL_MAP: Record; //# sourceMappingURL=constants.d.ts.map