import { ExecaError } from 'execa'; import { VerifyConditionsContext } from 'semantic-release'; /** * Runs a command and returns the output * @throws {ExecaError} if the command fails */ declare function runCommand(cmd: string, { stdout, stderr, ...ctx }: VerifyConditionsContext): Promise; declare function runFailCommand(cmd: string, ctx: VerifyConditionsContext, errorName: string): Promise; declare function isExecaError(error: unknown): error is ExecaError; export { isExecaError, runCommand, runFailCommand };