/** * Prompt templates for LLM annotation. */ export interface CoverageInfo { aspect: string; covered: number; total: number; percentage: number; } /** * Supported language identifiers for prompt parameterization. */ export type SupportedLanguage = 'typescript' | 'javascript' | 'ruby'; /** * Build the system prompt for annotation. */ export declare function buildSystemPrompt(aspects: string[], language?: SupportedLanguage): string; /** * Build user prompt with enhanced dependency context (multiple aspects). */ export declare function buildUserPromptEnhanced(symbols: SymbolContextEnhanced[], aspects: string[], coverage: CoverageInfo[], language?: SupportedLanguage, existingDomains?: string[]): string; export interface DependencyContextEnhanced { id: number; name: string; kind: string; filePath: string; line: number; purpose: string | null; domains: string[] | null; role: string | null; pure: boolean | null; } export interface IncomingDependencyContext { id: number; name: string; kind: string; filePath: string; } export type RelationshipType = 'uses' | 'extends' | 'implements'; /** * Relationship to annotate (outgoing edge from symbol to dependency). */ export interface RelationshipToAnnotate { toId: number; toName: string; toKind: string; usageLine: number; relationshipType: RelationshipType; } export interface SymbolContextEnhanced { id: number; name: string; kind: string; filePath: string; line: number; endLine: number; sourceCode: string; isExported: boolean; dependencies: DependencyContextEnhanced[]; relationshipsToAnnotate: RelationshipToAnnotate[]; incomingDependencies: IncomingDependencyContext[]; incomingDependencyCount: number; } export interface RelationshipTarget { toId: number; toName: string; toKind: string; toFilePath: string; toLine: number; usageLine: number; relationshipType: string; toPurpose: string | null; toDomains: string[] | null; toRole: string | null; } export interface RelationshipSourceGroup { id: number; name: string; kind: string; filePath: string; line: number; endLine: number; sourceCode: string; purpose: string | null; domains: string[] | null; role: string | null; relationships: RelationshipTarget[]; } /** * Build the system prompt for relationship-only annotation. */ export declare function buildRelationshipSystemPrompt(language?: SupportedLanguage): string; /** * Build the user prompt for relationship-only annotation. */ export declare function buildRelationshipUserPrompt(groups: RelationshipSourceGroup[], language?: SupportedLanguage): string; //# sourceMappingURL=prompts.d.ts.map