/// <reference types="node" />
import type { ExecFileException, ExecFileOptions } from "child_process";
import type { AsyncResult } from "@openlens/utilities";
export type ExecFileError = ExecFileException & {
    stderr: string;
};
export interface ExecFile {
    (filePath: string): AsyncResult<string, ExecFileError>;
    (filePath: string, argsOrOptions: string[] | ExecFileOptions): AsyncResult<string, ExecFileError>;
    (filePath: string, args: string[], options: ExecFileOptions): AsyncResult<string, ExecFileError>;
}
declare const execFileInjectable: import("@ogre-tools/injectable").Injectable<ExecFile, unknown, void>;
export default execFileInjectable;
