import { InstantiationService } from "../../base/common/instantiation/instantiationService";
import { CodeAnalysisResult } from "../CodeAnalysisResult";
export declare class CodeAnalyzer {
    private serviceProvider;
    private structurerManager;
    private fileScanner;
    private codeCollector;
    private analyzers;
    private markdownAnalyser;
    constructor(instantiationService: InstantiationService);
    initialize(): Promise<void>;
    analyzeDirectory(dirPath: string): Promise<CodeAnalysisResult>;
    private collectCodeStructures;
    private analyzeMarkdownFiles;
    generateLearningMaterials(result: CodeAnalysisResult, outputDir: string): Promise<string[]>;
    /**
     * 从文件中读取指定位置的代码段
     */
    private readCodeSection;
    private sanitizeFileName;
}
