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