import type { ResolvedRole } from "../types.ts"; import type { IAgentRegistrar } from "../platform/ports/agent-registrar.ts"; import type { PiAgentRegistrar } from "../platform/adapters/pi/agent-registrar.ts"; /** * Sync resolved agent definitions to the host platform via an IAgentRegistrar. * * Collects all agents (primary roles + recursive subagents), converts them to * canonical AgentDefinition format, passes them to the provided registrar, and * returns the diff summary. */ export declare function syncAllAgents(resolvedRoles: ResolvedRole[], registrar: IAgentRegistrar): Promise<{ added: string[]; removed: string[]; unchanged: string[]; }>; /** * Write agent definitions to ~/.claude/agents/ as fallback registration. * * @deprecated Use `syncAllAgents(resolvedRoles, new OpencodeAgentRegistrar())` instead. * Kept as a convenience alias for backward compatibility. */ export declare function syncAgentFiles(resolvedRoles: ResolvedRole[]): void; /** * Sync resolved agent definitions into a PiAgentRegistrar (in-memory registry). * * @deprecated Use `syncAllAgents(resolvedRoles, registrar)` instead. * Kept as a convenience alias for backward compatibility. */ export declare function syncAgentFilesForPi(resolvedRoles: ResolvedRole[], registrar: PiAgentRegistrar): Promise; //# sourceMappingURL=agent-files.d.ts.map