import type { CodeBlock } from '../ast/parser.js'; export interface LLMProvider { jsonCompletion(systemPrompt: string, userQuery: string): Promise; chatCompletion(systemPrompt: string, userQuery: string): Promise; generate(prompt: string): Promise; } export interface CodebaseStyleProfile { namingConventions: string[]; errorHandling: string[]; architecturePatterns: string[]; preferredLibraries: string[]; } export declare class StyleLearner { private llm; constructor(llm: LLMProvider); /** * Learns codebase style from a collection of code blocks. */ learnFromBlocks(blocks: CodeBlock[]): Promise; } //# sourceMappingURL=learner.d.ts.map