/**
 * Codebase Map — structured codebase analysis for autonomous agent understanding.
 * Runs all analyzers and returns a unified CodebaseMapResult.
 * @epic cognitive-cleo
 */
import type { ProjectContext } from '../store/project-detect.js';
export interface StackAnalysis {
    languages: string[];
    frameworks: string[];
    dependencies: {
        name: string;
        version: string;
        dev: boolean;
    }[];
    packageManager?: string;
    runtime?: string;
}
export interface ArchAnalysis {
    layers: {
        name: string;
        path: string;
        purpose: string;
    }[];
    entryPoints: {
        path: string;
        type: string;
    }[];
    patterns: string[];
}
export interface StructureAnalysis {
    directories: {
        path: string;
        purpose: string;
        fileCount: number;
    }[];
    totalFiles: number;
    totalLines?: number;
}
export interface ConventionAnalysis {
    fileNaming: string;
    importStyle: string;
    linter?: string;
    formatter?: string;
    typeSystem?: string;
    errorHandling?: string;
}
export interface TestingAnalysis {
    framework: string;
    patterns: string[];
    directories: string[];
    hasFixtures: boolean;
    hasMocks: boolean;
    coverageConfigured: boolean;
}
export interface IntegrationAnalysis {
    apis: string[];
    databases: string[];
    auth: string[];
    cicd: string[];
    containerized: boolean;
}
export interface ConcernAnalysis {
    todos: {
        file: string;
        line: number;
        text: string;
    }[];
    largeFiles: {
        path: string;
        lines: number;
    }[];
    complexity: {
        high: number;
        medium: number;
        low: number;
    };
}
export interface CodebaseMapResult {
    projectContext: ProjectContext;
    stack: StackAnalysis;
    architecture: ArchAnalysis;
    structure: StructureAnalysis;
    conventions: ConventionAnalysis;
    testing: TestingAnalysis;
    integrations: IntegrationAnalysis;
    concerns: ConcernAnalysis;
    analyzedAt: string;
}
export interface MapCodebaseOptions {
    focus?: 'stack' | 'architecture' | 'structure' | 'conventions' | 'testing' | 'integrations' | 'concerns';
    storeToBrain?: boolean;
}
export declare function mapCodebase(projectRoot: string, options?: MapCodebaseOptions): Promise<CodebaseMapResult>;
//# sourceMappingURL=index.d.ts.map