/** Hardware information detected at boot */
export interface HardwareInfo {
    readonly platform: 'darwin' | 'linux' | 'win32';
    readonly arch: 'arm64' | 'x64';
    readonly cpuModel: string;
    readonly cpuCores: number;
    readonly totalRAM_MB: number;
    readonly availableRAM_MB: number;
    readonly gpu: GpuInfo | null;
    readonly npu: NpuInfo | null;
}
export interface GpuInfo {
    readonly type: 'nvidia' | 'amd' | 'intel' | 'apple';
    readonly name: string;
    readonly memoryMB?: number;
}
export interface NpuInfo {
    readonly type: 'apple-ane' | 'intel-npu';
}
/** A probed backend with availability and score */
export interface PlatformScore {
    readonly runtime: 'node' | 'python';
    readonly backend: string;
    readonly format: 'onnx' | 'coreml' | 'openvino';
    readonly score: number;
    readonly reason: string;
    readonly available: boolean;
}
/** Full platform capabilities — cached once per boot */
export interface PlatformCapabilities {
    readonly hardware: HardwareInfo;
    readonly scores: readonly PlatformScore[];
    readonly bestScore: PlatformScore;
    readonly pythonPath: string | null;
}
/** Model requirement declared by an addon */
export interface ModelRequirement {
    readonly modelId: string;
    readonly name: string;
    /** Minimum RAM needed for inference (model + runtime overhead, in MB) */
    readonly minRAM_MB: number;
    /** Relative accuracy score 0-100 */
    readonly accuracyScore: number;
    /** Available formats in the model catalog */
    readonly formats: readonly string[];
}
/** Resolved config — the tripletta chosen by the scorer for an addon */
export interface ResolvedInferenceConfig {
    readonly modelId: string;
    readonly runtime: 'node' | 'python';
    readonly backend: string;
    readonly format: import('../types/models.js').ModelFormat;
    readonly reason: string;
}
//# sourceMappingURL=platform.d.ts.map