/** * @packageDocumentation * * Minimal logging utilities for the CLI. */ /** * Lightweight logging utility for CLI commands. * * Provides colorized error and warning output with automatic deduplication of * repeated warnings. */ export interface Logger { /** Log an error message and set a non-zero exit code. */ error: (err: unknown) => void; /** Emit a warning message once per unique string. */ warn: (msg: string) => void; } /** * Create a logger instance with optional color support. * * @param getColor - Function returning whether colored output should be used. * @returns Logger with `error` and `warn` methods. */ export declare function createLogger(getColor: () => boolean): Logger; //# sourceMappingURL=logger.d.ts.map