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. * If customAppendPrompt is provided, it appends after whichever base won. */ 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, excludeDescriptions?: string[]): string; export declare function createOrchestratorAgent(model?: string | Array, customPrompt?: string, customAppendPrompt?: string, disabledAgents?: Set, excludeDescriptions?: string[]): AgentDefinition;