import { type AgentPermissionMode, type AgentSpecificConfig, type DefaultPlugins, type ProjectConfig } from "./types.js"; export type SessionRole = "orchestrator" | "worker"; export interface ResolvedAgentSelection { role: SessionRole; agentName: string; agentConfig: AgentSpecificConfig; model?: string; permissions?: AgentPermissionMode; subagent?: string; } export declare function resolveSessionRole(sessionId: string, metadata?: Record): SessionRole; export declare function resolveAgentSelection(params: { role: SessionRole; project: ProjectConfig; defaults: DefaultPlugins; persistedAgent?: string; spawnAgentOverride?: string; }): ResolvedAgentSelection; //# sourceMappingURL=agent-selection.d.ts.map