//#region src/runShellCmd.d.ts type CmdResult = { label: string | null; out: string; error: boolean; stdout: string; stderr: string; }; type RunCmdOptions = { mock?: CmdResult; silent?: boolean | 'timeOnly'; cwd?: string; throwOnError?: boolean; noCiColorForce?: boolean; }; /** * @deprecated This utility has been moved to @ls-stack/node-utils. Please * update your imports: * * // Old (deprecated) * import { runCmd } from '@ls-stack/utils/runShellCmd'; * * // New (preferred) * import { runCmd } from '@ls-stack/node-utils/runShellCmd'; * @param label * @param command * @param root0 * @param root0.mock * @param root0.silent * @param root0.throwOnError * @param root0.cwd * @param root0.noCiColorForce */ declare function runCmd(label: string | null, command: string | string[], { mock, silent, throwOnError, cwd, noCiColorForce }?: RunCmdOptions): Promise; /** * @deprecated This utility has been moved to @ls-stack/node-utils. Please * update your imports: * * // Old (deprecated) * import { concurrentCmd } from '@ls-stack/utils/runShellCmd'; * * // New (preferred) * import { concurrentCmd } from '@ls-stack/node-utils/runShellCmd'; * @param label * @param cmd * @param onResult */ declare function concurrentCmd(label: string, cmd: string | string[], onResult: (result: CmdResult) => void): Promise<() => void>; /** * @deprecated This utility has been moved to @ls-stack/node-utils. Please * update your imports: * * // Old (deprecated) * import { runCmdUnwrap } from '@ls-stack/utils/runShellCmd'; * * // New (preferred) * import { runCmdUnwrap } from '@ls-stack/node-utils/runShellCmd'; * @param label * @param command * @param root0 * @param root0.silent */ declare function runCmdUnwrap(label: string | null, command: string | string[], { silent }?: { silent?: boolean | 'timeOnly'; }): Promise; /** * @deprecated This utility has been moved to @ls-stack/node-utils. Please * update your imports: * * // Old (deprecated) * import { runCmdSilent } from '@ls-stack/utils/runShellCmd'; * * // New (preferred) * import { runCmdSilent } from '@ls-stack/node-utils/runShellCmd'; * @param command */ declare function runCmdSilent(command: string | string[]): Promise; /** * @deprecated This utility has been moved to @ls-stack/node-utils. Please * update your imports: * * // Old (deprecated) * import { runCmdSilentUnwrap } from '@ls-stack/utils/runShellCmd'; * * // New (preferred) * import { runCmdSilentUnwrap } from '@ls-stack/node-utils/runShellCmd'; * @param command */ declare function runCmdSilentUnwrap(command: string | string[]): Promise; //#endregion export { concurrentCmd, runCmd, runCmdSilent, runCmdSilentUnwrap, runCmdUnwrap };