import { PromptModule, ModuleConfig } from './prompt-module.interface.js'; /** * Team reference module — provides team hierarchy, TL duties, and norms references. * * Wraps the existing `buildTeamLeadSection` and `buildTeamNormsSection` logic * from PromptBuilderService. The TL addon is conditionally loaded only when * the agent has `canDelegate=true` and subordinates. * * Sources: Path A Step 7, Path B Sections 4+5. */ export declare class TeamReferenceModule implements PromptModule { name: string; priority: number; maxTokens: number; compactable: boolean; /** * Include when agent has a team (teamId set) or has subordinates. */ shouldInclude(config: ModuleConfig): boolean; /** * Build team reference section. Includes TL addon if agent can delegate, * and team norms if available. * * @param config - Module configuration with team and subordinate details * @returns Formatted markdown team reference section */ build(config: ModuleConfig): Promise; /** * Build Team Lead section by loading tl-addon.md and resolving variables. * Falls back to inline section if addon file not found. * * @param config - Module configuration with subordinate details * @returns Formatted TL section or empty string */ private buildTeamLeadSection; /** * Build minimal inline TL section as fallback when tl-addon.md is not found. * * @param workerList - Pre-formatted worker list * @param subordinateCount - Number of subordinates * @returns Formatted inline TL section */ private buildInlineTeamLeadSection; /** * Build team norms section by loading norms files from team directory. * Only includes norms whose role list matches the agent's role or '*'. * * @param teamId - Team ID to load norms for * @param role - Agent's role for filtering * @returns Formatted norms markdown or empty string */ private buildTeamNormsSection; } //# sourceMappingURL=team-reference.module.d.ts.map