/** * Phase 2: LLM-powered content verification of annotations and relationships. */ import type { Command } from '@oclif/core'; import type { IndexDatabase } from '../../../../db/database.js'; import type { LlmContext } from '../base-llm-command.js'; import type { SupportedLanguage } from '../prompts.js'; import type { ContentVerificationResult, VerifySeverity } from './verify-types.js'; interface VerifyFlags { 'batch-size': number; 'max-iterations': number; } /** * Parse the verification CSV response (definition_id,check,verdict,reason). */ export declare function parseAnnotationVerifyCsv(content: string): Array<{ definitionId: number; check: string; verdict: string; reason: string; }>; /** * Parse the relationship verification CSV response (from_id,to_id,verdict,reason). */ export declare function parseRelationshipVerifyCsv(content: string): Array<{ fromId: number; toId: number; verdict: string; reason: string; }>; export declare function verdictToSeverity(verdict: string): VerifySeverity | null; /** * Verify annotation content using LLM (Phase 2). */ export declare function verifyAnnotationContent(db: IndexDatabase, ctx: LlmContext, command: Command, flags: VerifyFlags, aspects: string[], projectLanguage?: SupportedLanguage, fileLanguageMap?: Map): Promise; /** * Verify relationship content using LLM (Phase 2). */ export declare function verifyRelationshipContent(db: IndexDatabase, ctx: LlmContext, command: Command, flags: VerifyFlags, projectLanguage?: SupportedLanguage, fileLanguageMap?: Map): Promise; /** * Parse the module assignment verification CSV response (definition_id,verdict,reason,suggested_module_path). */ export declare function parseModuleAssignmentVerifyCsv(content: string): Array<{ definitionId: number; verdict: string; reason: string; suggestedModulePath: string | null; }>; /** * Verify module assignment content using LLM (Phase 2). */ export declare function verifyModuleAssignmentContent(db: IndexDatabase, ctx: LlmContext, command: Command, flags: VerifyFlags, projectLanguage?: SupportedLanguage): Promise; export {}; //# sourceMappingURL=content-verifier.d.ts.map