import { CrtrError } from './errors.js'; export declare const stdoutColor: { dim: (s: string) => string; bold: (s: string) => string; red: (s: string) => string; green: (s: string) => string; yellow: (s: string) => string; blue: (s: string) => string; cyan: (s: string) => string; gray: (s: string) => string; }; export declare const stderrColor: { dim: (s: string) => string; bold: (s: string) => string; red: (s: string) => string; green: (s: string) => string; yellow: (s: string) => string; blue: (s: string) => string; cyan: (s: string) => string; gray: (s: string) => string; }; export declare function out(line: string): void; export declare function err(line: string): void; export declare function hint(line: string): void; export declare function warn(line: string): void; export declare function info(line: string): void; export declare function jsonOut(obj: unknown): void; export declare function jsonError(error: CrtrError | Error): void; export declare function isTTY(): boolean; export declare function isJsonRequested(opts: { json?: boolean; } | undefined): boolean; export declare function handleError(error: unknown, opts?: { json?: boolean; }): never;