import type { ApplicationLogger } from '@fluojs/runtime'; /** Severity threshold accepted by `createConsoleApplicationLogger(...)`. */ export type ConsoleApplicationLoggerLevel = 'debug' | 'error' | 'log' | 'warn'; /** Console formatting mode accepted by `createConsoleApplicationLogger(...)`. */ export type ConsoleApplicationLoggerMode = 'minimal' | 'pretty' | 'silent'; /** Options used to tune the Node console logger without replacing the runtime logger contract. */ export interface ConsoleApplicationLoggerOptions { /** * Controls console formatting. * * - `pretty` keeps the historical timestamp, pid, level, context, and message format. * - `minimal` writes only `[fluo] LEVEL [context] message`. * - `silent` suppresses all logger methods. */ mode?: ConsoleApplicationLoggerMode; /** Lowest severity emitted by the logger. Defaults to `debug`, preserving existing output. */ level?: ConsoleApplicationLoggerLevel; /** Override TTY-aware ANSI color detection. */ color?: boolean; /** Explicit host color environment passed from the application/bootstrap boundary. */ environment?: ConsoleApplicationLoggerEnvironment; } /** Host color environment used by `createConsoleApplicationLogger(...)` without reading globals directly. */ export interface ConsoleApplicationLoggerEnvironment { /** Whether `NO_COLOR`-style color suppression is enabled. */ noColor?: boolean; /** `FORCE_COLOR`-style value used to force ANSI color output when truthy. */ forceColor?: string; } /** * Create console application logger. * * @param options Console logger mode, severity threshold, and color override. * @returns The create console application logger result. */ export declare function createConsoleApplicationLogger(options?: ConsoleApplicationLoggerOptions): ApplicationLogger; //# sourceMappingURL=logger.d.ts.map