export declare function setCommandTimeout(value: number): void; /** * Run a system command with fancy I/O like "Example... done." * @deprecated Use {@link trackCommand} instead, this function is unsafe. */ export declare function runShell(message: string, command: string): Promise; export interface TrackCommandOptions { text: string; /** Whether to ignore the command's exit code (or which codes to ignore) */ ignoreCode?: boolean | number[]; } /** * Run a system command with fancy I/O like "Example... done." */ export declare function trackCommand(message: string, command: string, ...args: string[]): string; export declare function trackCommand(options: TrackCommandOptions, command: string, ...args: string[]): string; export { /** * @deprecated use {@link runShell} */ runShell as run, }; /** Yet another convenience function */ export declare function exit(message: unknown, code?: number): never; /** Use a different working directory for the rest of a block */ export declare function withCWD(path: string): string & Disposable;