import type { KaijiBotConfig } from "../config/config.js";
import type { AgentDefaultsConfig } from "../config/types.agent-defaults.js";
import { resolveAgentIdFromSessionKey } from "../routing/session-key.js";
export { resolveAgentIdFromSessionKey };
type AgentEntry = NonNullable<NonNullable<KaijiBotConfig["agents"]>["list"]>[number];
type ResolvedAgentConfig = {
    name?: string;
    workspace?: string;
    agentDir?: string;
    systemPromptOverride?: AgentEntry["systemPromptOverride"];
    model?: AgentEntry["model"];
    thinkingDefault?: AgentEntry["thinkingDefault"];
    verboseDefault?: AgentDefaultsConfig["verboseDefault"];
    reasoningDefault?: AgentEntry["reasoningDefault"];
    fastModeDefault?: AgentEntry["fastModeDefault"];
    skills?: AgentEntry["skills"];
    memorySearch?: AgentEntry["memorySearch"];
    humanDelay?: AgentEntry["humanDelay"];
    heartbeat?: AgentEntry["heartbeat"];
    identity?: AgentEntry["identity"];
    groupChat?: AgentEntry["groupChat"];
    subagents?: AgentEntry["subagents"];
    sandbox?: AgentEntry["sandbox"];
    tools?: AgentEntry["tools"];
    soul?: AgentEntry["soul"];
};
export declare function listAgentEntries(cfg: KaijiBotConfig): AgentEntry[];
export declare function listAgentIds(cfg: KaijiBotConfig): string[];
export declare function resolveDefaultAgentId(cfg: KaijiBotConfig): string;
export declare function resolveSessionAgentIds(params: {
    sessionKey?: string;
    config?: KaijiBotConfig;
    agentId?: string;
}): {
    defaultAgentId: string;
    sessionAgentId: string;
};
export declare function resolveSessionAgentId(params: {
    sessionKey?: string;
    config?: KaijiBotConfig;
}): string;
export declare function resolveAgentConfig(cfg: KaijiBotConfig, agentId: string): ResolvedAgentConfig | undefined;
export declare function resolveAgentSkillsFilter(cfg: KaijiBotConfig, agentId: string): string[] | undefined;
export declare function resolveAgentExplicitModelPrimary(cfg: KaijiBotConfig, agentId: string): string | undefined;
export declare function resolveAgentEffectiveModelPrimary(cfg: KaijiBotConfig, agentId: string): string | undefined;
export declare function resolveAgentModelPrimary(cfg: KaijiBotConfig, agentId: string): string | undefined;
export declare function resolveAgentModelFallbacksOverride(cfg: KaijiBotConfig, agentId: string): string[] | undefined;
export declare function resolveFallbackAgentId(params: {
    agentId?: string | null;
    sessionKey?: string | null;
}): string;
export declare function resolveRunModelFallbacksOverride(params: {
    cfg: KaijiBotConfig | undefined;
    agentId?: string | null;
    sessionKey?: string | null;
}): string[] | undefined;
export declare function hasConfiguredModelFallbacks(params: {
    cfg: KaijiBotConfig | undefined;
    agentId?: string | null;
    sessionKey?: string | null;
}): boolean;
export declare function resolveEffectiveModelFallbacks(params: {
    cfg: KaijiBotConfig;
    agentId: string;
    hasSessionModelOverride: boolean;
}): string[] | undefined;
export declare function resolveAgentWorkspaceDir(cfg: KaijiBotConfig, agentId: string): string;
export declare function resolveAgentIdsByWorkspacePath(cfg: KaijiBotConfig, workspacePath: string): string[];
export declare function resolveAgentIdByWorkspacePath(cfg: KaijiBotConfig, workspacePath: string): string | undefined;
export declare function resolveAgentDir(cfg: KaijiBotConfig, agentId: string, env?: NodeJS.ProcessEnv): string;
