import { type ExecException } from "node:child_process";
export declare function exec(cwd: string, cmd: string): Promise<{
    code: number;
    error: ExecException | null;
    stdout: string;
    stderr: string;
}>;
export declare function safeExec(cwd: string, cmd: string): Promise<string>;
