import { GlobalBrain } from './global-brain.js'; import { BrainReplay } from './brain-replay.js'; export interface BrainDnaStats { topEntities: string[]; dominantPatterns: string[]; agentContributions: Array<{ agent: string; count: number; }>; totalMemories: number; totalEntities: number; ageDays: number; topLanguages: string[]; hallucinationsCaught: number; archetype: ArchetypeName; archetypeTagline: string; cacheHitRate?: number; decisionsRecorded: number; collisionsDetected: number; } export type ArchetypeName = 'The Debugger' | 'The Architect' | 'The Speedster' | 'The Scholar' | 'The Cartographer' | 'The Diplomat' | 'The Sentinel' | 'The Wanderer'; export interface ArchetypeDef { name: ArchetypeName; tagline: string; accent: string; glyph: string; } export declare class BrainDna { private brain; private replay; constructor(brain?: GlobalBrain, replay?: BrainReplay); /** Generate a DNA card for a project. Returns SVG string + computed stats. */ generate(project: string, opts?: { style?: 'card' | 'poster' | 'banner'; }): { svg: string; stats: BrainDnaStats; }; /** Side-by-side comparison of two projects. */ compareCards(projectA: string, projectB: string): { svg: string; }; /** Names of all defined archetypes. */ topArchetypes(): string[]; /** Compute the raw stats (no rendering). Public for tooling/tests. */ computeStats(project: string): BrainDnaStats; private safeInit; private resolveProjectId; private pickArchetype; private renderCard; private renderBanner; private renderPoster; private composeSideBySide; private metricGrid; } export declare function rasterizeToPng(_svg: string): Promise; export declare function getBrainDna(): BrainDna; export declare function resetBrainDnaForTests(): void; //# sourceMappingURL=brain-dna.d.ts.map