export interface CodeChunk { id: string; filePath: string; content: string; type: ChunkType; language: Language; startLine: number; endLine: number; hash: string; dependencies?: string[]; metadata?: Record; } export declare enum ChunkType { CLASS = "class", FUNCTION = "function", METHOD = "method", INTERFACE = "interface", TYPE = "type", ENUM = "enum", VARIABLE = "variable", MODULE = "module", NAMESPACE = "namespace", COMMENT = "comment", DATABASE_TABLE = "database_table", DATABASE_SCHEMA = "database_schema" } export declare enum Language { JAVASCRIPT = "javascript", TYPESCRIPT = "typescript", PYTHON = "python", GO = "go", RUST = "rust", JAVA = "java", CPP = "cpp", SQL = "sql", UNKNOWN = "unknown" } export interface ParsedModule { path: string; name: string; language: Language; chunks: CodeChunk[]; imports: string[]; exports: string[]; dependencies: DependencyInfo[]; } export interface DependencyInfo { source: string; target: string; type: 'import' | 'export' | 'call' | 'inheritance'; } export interface DocumentationSection { id: string; type: DocType; title: string; content: string; metadata?: Record; children?: DocumentationSection[]; } export declare enum DocType { ARCHITECTURE = "architecture", API_REFERENCE = "api_reference", DATABASE = "database", MODULE = "module", OVERVIEW = "overview", DIAGRAM = "diagram" } export interface AIConfig { provider?: string; apiKey?: string; model?: string; maxTokens?: number; temperature?: number; baseURL?: string; region?: string; projectId?: string; githubToken?: string; topP?: number; topK?: number; frequencyPenalty?: number; presencePenalty?: number; repetitionPenalty?: number; stopSequences?: string[]; bestOf?: number; useBeamSearch?: boolean; customHeaders?: Record; fallbackProviders?: string[]; enableFallback?: boolean; maxRetries?: number; retryDelay?: number; additionalProviders?: any[]; copilotAccessMethod?: 'api' | 'vscode' | 'language-server' | 'auto'; vscodeExtensionPath?: string; vscodeExtensions?: VSCodeExtensionConfig[]; useVSCodeExtensions?: boolean; preferVSCodeExtensions?: boolean; enableSearch?: boolean; reasoningEffort?: 'low' | 'medium' | 'high'; } export interface VSCodeExtensionConfig { id: string; name: string; provider: string; model?: string; enabled: boolean; priority?: number; settings?: Record; } export interface DocDeltaConfig { sourceDir: string; outputDir: string; include?: string[]; exclude?: string[]; languages?: Language[]; ai: AIConfig; git?: GitConfig; metadata?: MetadataConfig; } export interface GitConfig { enabled: boolean; autoPush?: boolean; remote?: string; branch?: string; commitPrefix?: string; } export interface MetadataConfig { dir: string; cacheDir?: string; enableCache?: boolean; } export interface DiffResult { added: CodeChunk[]; modified: CodeChunk[]; deleted: CodeChunk[]; unchanged: CodeChunk[]; } export interface GenerationResult { sections: DocumentationSection[]; files: GeneratedFile[]; stats: GenerationStats; } export interface GeneratedFile { path: string; content: string; type: DocType; module?: string; crossReferences?: string[]; tags?: string[]; metadata?: any; } export interface GenerationStats { filesProcessed: number; chunksAnalyzed: number; tokensUsed: number; timeElapsed: number; errors: string[]; } export interface ChunkMetadata { hash: string; lastModified: Date; aiSummary?: string; docReferences?: string[]; } export interface ProjectMetadata { version: string; lastGenerated: Date; chunks: Map; configuration: DocDeltaConfig; } //# sourceMappingURL=index.d.ts.map