import type { AgentConfig } from "@opencode-ai/sdk"; import type { AgentPromptMetadata, WeaveAgentName } from "./types"; import type { CategoriesConfig, AgentOverrideConfig } from "../config/schema"; import type { ResolvedContinuationConfig } from "../config/continuation"; import type { ResolveSkillsFn } from "./agent-builder"; import type { ProjectFingerprint } from "../features/analytics/types"; import type { AvailableAgent } from "./dynamic-prompt-builder"; export interface CreateBuiltinAgentsOptions { disabledAgents?: string[]; agentOverrides?: Record; categories?: CategoriesConfig; uiSelectedModel?: string; systemDefaultModel?: string; availableModels?: Set; disabledSkills?: Set; resolveSkills?: ResolveSkillsFn; /** Project fingerprint for injecting project context into agent prompts */ fingerprint?: ProjectFingerprint | null; /** Custom agent metadata for Loom's dynamic delegation prompt */ customAgentMetadata?: AvailableAgent[]; /** Resolved continuation config for prompt-aware agents */ continuation?: ResolvedContinuationConfig; } export declare const AGENT_METADATA: Record; /** * Register metadata for a custom agent. Used by create-managers.ts * to integrate custom agents into Loom's dynamic prompt builder. */ export declare function registerCustomAgentMetadata(name: string, metadata: AgentPromptMetadata): void; /** * Get all agent metadata — builtins + registered custom agents. * Returns a new merged record on each call. */ export declare function getAllAgentMetadata(): Record; export declare function createBuiltinAgents(options?: CreateBuiltinAgentsOptions): Record;