import { PRSenseDetector } from './prsense.js'; export interface PRDescriptionInput { title: string; diff: string; author: string; files: string[]; } /** * LLM provider interface for description generation */ interface LLMProvider { generate(prompt: string): Promise; } export declare class DescriptionGenerator { private detector; private llm; constructor(detector?: PRSenseDetector, llm?: LLMProvider); /** * Set the detector instance if not provided in constructor */ setDetector(detector: PRSenseDetector): void; /** * Set the LLM provider for AI-powered descriptions */ setLLM(llm: LLMProvider): void; /** * Generate a PR description based on the diff and historical context. * * If an LLM is available, uses AI for intelligent summarization. * Otherwise falls back to heuristic-based template generation. */ generate(pr: PRDescriptionInput): Promise; } export {}; //# sourceMappingURL=descriptionGenerator.d.ts.map