/** * Shared logging utilities for installer * Provides colorized console output functions and file logging using Winston */ export declare const LOG_FILE = "/tmp/nori.log"; /** * Enable or disable silent mode * When silent mode is enabled, all console output is suppressed * but file logging continues * * @param args - Configuration arguments * @param args.silent - Whether to enable silent mode */ export declare const setSilentMode: (args: { silent: boolean; }) => void; /** * Check if silent mode is enabled * * @returns Whether silent mode is currently enabled */ export declare const isSilentMode: () => boolean; /** * Print error message in red with "Error: " prefix * @param args - Configuration arguments * @param args.message - Error message to display */ export declare const error: (args: { message: string; }) => void; /** * Print success message in green * @param args - Configuration arguments * @param args.message - Success message to display */ export declare const success: (args: { message: string; }) => void; /** * Print info message in cyan * @param args - Configuration arguments * @param args.message - Info message to display */ export declare const info: (args: { message: string; }) => void; /** * Print warning message in yellow with "Warning: " prefix * @param args - Configuration arguments * @param args.message - Warning message to display */ export declare const warn: (args: { message: string; }) => void; /** * Log debug message to file only (no console output) * @param args - Configuration arguments * @param args.message - Debug message to log */ export declare const debug: (args: { message: string; }) => void; /** * Output a blank line to console for spacing * File logging is skipped for blank lines */ export declare const newline: () => void; /** * Output raw text without any color formatting * Used for pre-formatted output like ASCII art * @param args - Configuration arguments * @param args.message - Raw message to display */ export declare const raw: (args: { message: string; }) => void; /** * Print text in bright cyan (for numbers/indices) * @param args - Configuration arguments * @param args.text - Text to display * * @returns Text wrapped in bright cyan ANSI color codes */ export declare const brightCyan: (args: { text: string; }) => string; /** * Print text in bold white (for option names) * @param args - Configuration arguments * @param args.text - Text to display * * @returns Text wrapped in bold white ANSI color codes */ export declare const boldWhite: (args: { text: string; }) => string; /** * Print text in gray (for descriptions) * @param args - Configuration arguments * @param args.text - Text to display * * @returns Text wrapped in gray ANSI color codes */ export declare const gray: (args: { text: string; }) => string; /** * Wrap text to fit terminal width * @param args - Configuration arguments * @param args.text - Text to wrap * @param args.maxWidth - Maximum width (defaults to terminal width or 80) * * @returns Wrapped text with newlines */ export declare const wrapText: (args: { text: string; maxWidth?: number | null; }) => string; //# sourceMappingURL=logger.d.ts.map