import color from 'picocolors'; export type LogLevel = 'error' | 'warn' | 'info' | 'debug'; export declare const validLogLevels: LogLevel[]; export interface CliLogger { debug: (message: string, ...args: unknown[]) => void; info: (message: string, ...args: unknown[]) => void; warn: (message: string, ...args: unknown[]) => void; error: (message: string, ...args: unknown[]) => void; message: (message: string) => void; note: (content: string, title?: string) => void; outro: (message: string) => void; success: (message: string) => void; failed: (message: string) => never; step: (current: number, total: number, label: string) => void; } export type CliExtensions = Pick; export declare const formatLogMessage: (level: string, message: unknown, args?: unknown[]) => string; export interface LoggerOptions { /** Use terminal prompts for human-readable output. */ interactive?: boolean; /** Receive diagnostic lines. Defaults to stderr so stdout remains data-only. */ write?: (line: string) => void; } /** Create a logger without installing process handlers or terminating callers. */ export declare const createCliLogger: (level?: LogLevel, options?: LoggerOptions) => CliLogger; export declare const logMessage: (level: string, message: unknown, ...args: unknown[]) => void; export { color };