import process from "process";
import { BinaryPlatform } from "./utils/getPlatform.js";
export type BuildOptions = {
    customCmakeOptions: Map<string, string>;
    progressLogs: boolean;
    platform: BinaryPlatform;
    arch: typeof process.arch;
    computeLayers: {
        metal: boolean;
        cuda: boolean;
    };
    llamaCpp: {
        repo: string;
        release: string;
    };
};
export type BuildOptionsJSON = Omit<BuildOptions, "customCmakeOptions"> & {
    customCmakeOptions: Record<string, string>;
};
export declare function convertBuildOptionsJSONToBuildOptions(buildOptionsJSON: BuildOptionsJSON): BuildOptions;
export declare function convertBuildOptionsToBuildOptionsJSON(buildOptions: BuildOptions): BuildOptionsJSON;
export type BuildMetadataFile = {
    buildOptions: BuildOptionsJSON;
};
export declare enum LlamaLogLevel {
    disabled = "disabled",
    fatal = "fatal",
    error = "error",
    warn = "warn",
    info = "info",
    debug = "debug"
}
export declare const LlamaLogLevelValues: readonly [LlamaLogLevel.disabled, LlamaLogLevel.fatal, LlamaLogLevel.error, LlamaLogLevel.warn, LlamaLogLevel.info, LlamaLogLevel.debug];
