import { type ExecFileOptionsWithStringEncoding } from "@azure/core-process";
/**
 * Easy to mock childProcess utils.
 * @internal
 */
export declare const processUtils: {
    /**
     * Executes a file and preserves output when the process exits nonzero.
     *
     * @internal
     */
    execFileWithResult(file: string, params: string[], options: ExecFileOptionsWithStringEncoding): Promise<{
        stdout: string;
        stderr: string;
        error: Error | null;
    }>;
    /**
     * Executes a file and rejects when it writes to stderr or exits nonzero.
     *
     * @internal
     */
    execFile(file: string, params: string[], options: ExecFileOptionsWithStringEncoding): Promise<string>;
};
//# sourceMappingURL=processUtils.d.ts.map