/** * Org-level multi-repo aggregation. * Loads scorecards and common issues from multiple repos, * computes org-level handicap, and promotes shared patterns. */ import type { GolfScorecard, HandicapCard } from './types.js'; import type { RecurringPattern } from './briefing.js'; export interface OrgRepo { name: string; path: string; } export interface OrgConfig { repos: OrgRepo[]; } export interface OrgScorecard extends GolfScorecard { _repo: string; } export interface RepoHandicap { repo: string; path: string; handicap: HandicapCard; sprint_count: number; latest_sprint?: number; } export interface OrgHandicap { overall: HandicapCard; per_repo: RepoHandicap[]; total_sprints: number; } export interface OrgIssue extends RecurringPattern { repos: string[]; } export declare function loadOrgConfig(cwd: string): OrgConfig; export declare function createOrgConfig(cwd: string, repos: OrgRepo[]): void; export declare function loadOrgScorecards(orgConfig: OrgConfig, baseCwd?: string): OrgScorecard[]; export declare function computeOrgHandicap(orgConfig: OrgConfig, baseCwd?: string): OrgHandicap; export declare function mergeCommonIssues(orgConfig: OrgConfig, baseCwd?: string): OrgIssue[]; //# sourceMappingURL=org.d.ts.map