/// export interface Options { cleanup?: boolean; filepath: string; interactive?: boolean; list?: boolean; } export declare enum ConfirmAction { continue = "continue", skip = "skip" } declare type ChalkColors = "red" | "green" | "white"; declare type WriteFunc = (s: string) => void; export interface UserConfirmOptions { color?: ChalkColors; skipAllowed?: boolean; } export declare class CliTest { readonly options: Required; commands: WriteFunc; output: WriteFunc; parse: WriteFunc; cmdEnv: NodeJS.ProcessEnv; cwd: string; file: string | undefined; lastCommandOutput: string | undefined; origPath: string; tmpDir: string; constructor(options: Options); init(): Promise; info: WriteFunc; error(s: string): never; cleanup(): Promise; interactive(on?: boolean): boolean; userConfirm(query?: string, options?: UserConfirmOptions): Promise; updateEnv(output: string, diff?: boolean): void; parseEnv(output: string): NodeJS.ProcessEnv; private updateCwd; private _updateEnv; } export {};