export type RunCommand = (cmd: string, args: string[], options?: {
    cwd?: string;
    env?: NodeJS.ProcessEnv;
    stdio?: 'inherit' | 'pipe' | 'ignore';
    input?: string;
}) => void;
export declare function execOrThrow(cmd: string, args: string[], { cwd, env, stdio, input }?: {
    cwd?: string;
    env?: NodeJS.ProcessEnv;
    stdio?: 'inherit' | 'pipe' | 'ignore';
    input?: string;
}): void;
export declare function commandExists(cmd: string): boolean;
export declare function resolveBunCommand({ processEnv, commandProbe, platform, }?: {
    processEnv?: NodeJS.ProcessEnv;
    commandProbe?: (cmd: string) => boolean;
    platform?: NodeJS.Platform;
}): string | null;
export declare function resolveYarnCommand({ commandProbe, }?: {
    commandProbe?: (cmd: string) => boolean;
}): {
    cmd: string;
    args: string[];
};
export declare function ensureFileExists(path: string): Promise<void>;
export declare function compileBunBinary({ entrypoint, bunTarget, outfile, cwd, externals, bunCommand, runCommand, }: {
    entrypoint: string;
    bunTarget: string;
    outfile: string;
    cwd?: string;
    externals?: string[];
    bunCommand?: string;
    runCommand?: RunCommand;
}): Promise<void>;
//# sourceMappingURL=commands.d.ts.map