/** Methods to interact with the CLI */ export interface CLI { /** Logs an info message */ log(message: string): void; /** Logs a warning */ warn(message: string): void; /** Logs an error and continues */ error(message: string): void; /** Logs an error and exits */ fatal(message: string, code?: number): never; /** Logs an executed command (mainly used for dry runs) */ logCommand(command: string, args?: readonly string[]): void; /** Displays a select dialog to the user and returns the value of the chosen option */ select(prompt: string, options: SelectOption[]): Promise; /** Asks the user to enter something */ ask(question: string, placeholder?: string): Promise; /** Clears the last N lines */ clearLines(lines: number): void; prefix: string; colors: typeof import("picocolors"); stripColors: (str: string) => string; } export interface SelectOption { value: string; label: string; hint?: string; } export declare function stripColors(str: string): string; //# sourceMappingURL=cli.d.ts.map