export interface LoggerOptions { /** Whether to prepend a timestamp to each log message */ showTimestamp?: boolean; } export default class Logger { private static instance; private showTimestamp; private constructor(); /** * Returns the singleton instance of Logger. * The options are applied only on the first call. * @param options Logger configuration options. */ static getInstance(options?: LoggerOptions): Logger; debug(...args: any[]): void; info(...args: any[]): void; warn(...args: any[]): void; error(...args: any[]): void; success(...args: any[]): void; logErrorAndExit(message: string, exitCode?: number): void; private getTimestamp; /** * Logs a message with a colored level tag. * @param level - The log level (e.g. 'debug', 'info', 'warn', 'error'). * @param args - One or more values to log. */ private log; } export declare const logger: Logger;