import type { DaoCoreConfig } from "../../../config/types.daocore.js";
import { type ContextEngineHostSupport } from "../../../context-engine/host-compat.js";
export type HostCandidate = {
    runtimeId: string;
    host: ContextEngineHostSupport;
    paths: string[];
};
/** Collect effective agent-run host candidates from config and environment runtime policy. */
export declare function collectConfiguredContextEngineAgentRunHosts(params: {
    cfg: DaoCoreConfig;
    env?: NodeJS.ProcessEnv;
}): HostCandidate[];
/** Collect doctor warnings for context engines that cannot run under configured hosts. */
export declare function collectContextEngineHostCompatibilityWarnings(params: {
    cfg: DaoCoreConfig;
    doctorFixCommand: string;
    env?: NodeJS.ProcessEnv;
}): Promise<string[]>;
/** Repair a globally incompatible context engine by falling back to legacy. */
export declare function maybeRepairContextEngineHostCompatibility(params: {
    cfg: DaoCoreConfig;
    doctorFixCommand: string;
    env?: NodeJS.ProcessEnv;
}): Promise<{
    config: DaoCoreConfig;
    changes: string[];
    warnings?: string[];
}>;
