import type { KaijiBotConfig } from "../config/config.js";
export declare function splitModelRef(ref?: string): {
    provider: undefined;
    model: undefined;
} | {
    provider: string;
    model: string;
} | {
    provider: undefined;
    model: string;
};
export declare function resolveConfiguredSubagentRunTimeoutSeconds(params: {
    cfg: KaijiBotConfig;
    runTimeoutSeconds?: number;
}): number;
export declare function resolveSubagentModelAndThinkingPlan(params: {
    cfg: KaijiBotConfig;
    targetAgentId: string;
    targetAgentConfig?: unknown;
    modelOverride?: string;
    thinkingOverrideRaw?: string;
}): {
    status: "ok";
    resolvedModel: string;
    modelApplied: boolean;
    initialSessionPatch: {
        model: string;
    } | {
        model?: undefined;
    };
    thinkingOverride: undefined;
    error?: undefined;
} | {
    status: "error";
    resolvedModel: string;
    error: string;
    modelApplied?: undefined;
    initialSessionPatch?: undefined;
    thinkingOverride?: undefined;
} | {
    status: "ok";
    resolvedModel: string;
    modelApplied: boolean;
    thinkingOverride: import("../auto-reply/thinking.shared.ts").ThinkLevel;
    initialSessionPatch: {
        thinkingLevel: "minimal" | "low" | "medium" | "high" | "xhigh" | "adaptive" | null;
        model?: string | undefined;
    };
    error?: undefined;
};
