import { ConfigManager } from '../../config/config-manager.js';
import { CodeContext } from './types.js';
export declare class CodeMemory {
    private configManager;
    private codeContextPath;
    private codeContexts;
    constructor(configManager: ConfigManager);
    initialize(): Promise<void>;
    analyzeContext(options: {
        filePath: string;
        functionName?: string;
        includeRelated?: boolean;
        depth?: number;
    }): Promise<CodeContext>;
    updateCodeContext(filePath: string, context: CodeContext): Promise<void>;
    findRelatedCode(filePath: string): Promise<CodeContext[]>;
    getCodeStats(): Promise<{
        totalContexts: number;
        fileTypes: Record<string, number>;
        topPatterns: Array<{
            pattern: string;
            count: number;
        }>;
        dependencyGraph: Record<string, string[]>;
    }>;
    private performCodeAnalysis;
    private analyzeJavaScriptTypeScript;
    private analyzePython;
    private analyzeGeneric;
    private findRelatedCodeReferences;
    private resolveImportPath;
    private loadCodeContexts;
    private saveCodeContexts;
}
//# sourceMappingURL=code-memory.d.ts.map