import type { WorkspaceResolution } from './workspace-resolver.js';
export type MandatoryRuntimeEngineName = 'synapse' | 'architects';
export type MandatoryRuntimeEngineState = 'ready' | 'fallback' | 'blocked';
export interface MandatoryRuntimeEnginePlan {
    name: MandatoryRuntimeEngineName;
    required: true;
    requestedStorageRoot: string;
    activeStorageRoot: string;
    dbPath: string;
    fallbackApplied: boolean;
    fallbackReason?: string;
    ready: boolean;
    state: MandatoryRuntimeEngineState;
    remediation: string[];
}
export interface RuntimeHealthEnvelope {
    schemaVersion: 1;
    workspace: WorkspaceResolution & {
        stateRoot: string;
    };
    engines: Record<MandatoryRuntimeEngineName, MandatoryRuntimeEnginePlan>;
    readiness: {
        status: 'ready' | 'degraded' | 'blocked';
        reasons: string[];
    };
}
export declare function resolveMandatoryRuntimePlan(workspace: WorkspaceResolution): RuntimeHealthEnvelope;
export declare function finalizeRuntimeHealthEnvelope(envelope: RuntimeHealthEnvelope, readiness: Partial<Record<MandatoryRuntimeEngineName, {
    ready: boolean;
    error?: string;
}>>): RuntimeHealthEnvelope;
