export interface DolphinToolRunOptions {
    binaryPreference?: DolphinToolBinaryPreference;
    logStd?: boolean;
}
export declare enum DolphinToolBinaryPreference {
    PREFER_BUNDLED_BINARY = 1,
    PREFER_PATH_BINARY = 2
}
/**
 * Code to find and interact with the `dolphin-tool` binary.
 */
export default class DolphinToolBin {
    private static DOLPHIN_TOOL_BIN;
    private static readonly DOLPHIN_TOOL_BIN_MUTEX;
    private static getBinPath;
    private static getBinPathBundled;
    /**
     * Look for dolphin-tool binaries bundled with:
     * `bun build --compile --asset-naming="[name].[ext]" dolphin-tool *.dylib`
     */
    private static getBinPathBundledBun;
    private static getTemporaryDirectory;
    private static getBinPathExisting;
    /**
     * Run dolphin-tool with some arguments.
     */
    static run(arguments_: string[], options?: DolphinToolRunOptions): Promise<string>;
}
