import type { BotConfig } from "../config/config.js"; import { resolveAgentIdFromSessionKey } from "../routing/session-key.js"; export { resolveAgentIdFromSessionKey }; type AgentEntry = NonNullable["list"]>[number]; type ResolvedAgentConfig = { name?: string; workspace?: string; agentDir?: string; model?: AgentEntry["model"]; 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"]; }; export declare function listAgentEntries(cfg: BotConfig): AgentEntry[]; export declare function listAgentIds(cfg: BotConfig): string[]; export declare function resolveDefaultAgentId(cfg: BotConfig): string; export declare function resolveSessionAgentIds(params: { sessionKey?: string; config?: BotConfig; agentId?: string; }): { defaultAgentId: string; sessionAgentId: string; }; export declare function resolveSessionAgentId(params: { sessionKey?: string; config?: BotConfig; }): string; export declare function resolveAgentConfig(cfg: BotConfig, agentId: string): ResolvedAgentConfig | undefined; export declare function resolveAgentSkillsFilter(cfg: BotConfig, agentId: string): string[] | undefined; export declare function resolveAgentExplicitModelPrimary(cfg: BotConfig, agentId: string): string | undefined; export declare function resolveAgentEffectiveModelPrimary(cfg: BotConfig, agentId: string): string | undefined; export declare function resolveAgentModelPrimary(cfg: BotConfig, agentId: string): string | undefined; export declare function resolveAgentModelFallbacksOverride(cfg: BotConfig, agentId: string): string[] | undefined; export declare function resolveFallbackAgentId(params: { agentId?: string | null; sessionKey?: string | null; }): string; export declare function resolveRunModelFallbacksOverride(params: { cfg: BotConfig | undefined; agentId?: string | null; sessionKey?: string | null; }): string[] | undefined; export declare function hasConfiguredModelFallbacks(params: { cfg: BotConfig | undefined; agentId?: string | null; sessionKey?: string | null; }): boolean; export declare function resolveEffectiveModelFallbacks(params: { cfg: BotConfig; agentId: string; hasSessionModelOverride: boolean; }): string[] | undefined; export declare function resolveAgentWorkspaceDir(cfg: BotConfig, agentId: string): string; export declare function resolveAgentDir(cfg: BotConfig, agentId: string): string;