export interface BuiltAgent { team: string; name: string; path: string; description: string; tools: string[]; model: string; } export declare function listSourceAgents(agentsDir?: string): Array<{ team: string; agent: string; skillPath: string; }>; /** * v0.6 ยง2.1 โ€” Team(=domain) KNOWLEDGE.md scanner. * * Returns `agents/{team}/KNOWLEDGE.md` (one per team that ships shared * knowledge). `_meta/` and any legacy `_teams/` directory are skipped โ€” only * proper team folders are inspected. * * Consumed by `spawn-assembler.ts` layer [2] (already wired to the * post-S2 path โ€” this function is the public surface for diagnostics + * tests). */ export declare function listTeamKnowledge(agentsDir?: string): Array<{ team: string; path: string; }>; export declare function extractDescription(skillBody: string): string; export declare function buildAgentFile(team: string, agent: string, skillSrc: string): string; export declare function syncAgentsToOrg(workspace: string, orgSlug: string, agentsDir?: string): BuiltAgent[]; export declare function pruneOrphanAgents(workspace: string, orgSlug: string, validNames: Set): string[];