export interface TeamData {
    version: number;
    updated: number;
    patterns: TeamPattern[];
    knowledgeMap: KnowledgeEntry[];
    dna: TeamDNA;
    workflows: WorkflowData;
}
export interface TeamPattern {
    id: string;
    name: string;
    description: string;
    category: string;
    approvedBy: string;
    approvedAt: number;
    voteScore: number;
    appliedCount: number;
}
export interface KnowledgeEntry {
    module: string;
    experts: string[];
    busFactor: number;
    riskScore: number;
    lastUpdated: number;
}
export interface TeamDNA {
    qualityBar: number;
    riskProfile: 'low' | 'medium' | 'high';
    avgPrCycleTime: number;
    testCoverage: number;
    refactoringAppetite: number;
    docCulture: number;
    memberCount: number;
    totalPatterns: number;
}
export interface WorkflowData {
    avgReviewTime: number;
    prsThisWeek: number;
    bottlenecks: string[];
    commonFailures: string[];
    deployFrequency: string;
}
export declare class TeamEngine {
    private store;
    private data;
    constructor(cellDir?: string);
    addPattern(name: string, description: string, category: string, approvedBy: string): {
        id: string;
    };
    votePattern(patternId: string, score: number): void;
    applyPattern(patternId: string): void;
    updateKnowledgeMap(module: string, experts: string[]): void;
    setDNA(dna: Partial<TeamDNA>): void;
    recordWorkflow(prTime: number, bottleneck?: string, failure?: string): void;
    generateOnboarding(): string;
    getSummary(): string[];
    private save;
}
//# sourceMappingURL=team-engine.d.ts.map