import type { AgentConfig } from '@opencode-ai/sdk/v2'; export interface AgentDefinition { name: string; displayName?: string; description?: string; config: AgentConfig; /** Priority-ordered model entries for runtime fallback resolution. */ _modelArray?: Array<{ id: string; variant?: string; }>; } /** * Resolve agent prompt from base/custom/append inputs. * If customPrompt is provided, it replaces the base entirely. * Otherwise, customAppendPrompt is appended to the base. */ export declare function resolvePrompt(base: string, customPrompt?: string, customAppendPrompt?: string): string; /** * Build the orchestrator prompt with dynamic agent filtering. * @param disabledAgents - Set of disabled agent names to exclude from the prompt * @returns The complete orchestrator prompt string */ export declare function buildOrchestratorPrompt(disabledAgents?: Set): string; /** @deprecated Use buildOrchestratorPrompt() instead */ export declare const ORCHESTRATOR_PROMPT: string; export declare function createOrchestratorAgent(model?: string | Array, customPrompt?: string, customAppendPrompt?: string, disabledAgents?: Set): AgentDefinition;