/**
 * Hallucination Checker
 *
 * Detects non-existent imports, fabricated APIs, and incorrect patterns
 * commonly produced by AI code generation.
 *
 * @module scanners/ai-code/hallucination-checker
 */
import type { HallucinationFinding, HallucinationType } from "./types.js";
interface ImportInfo {
    source: string;
    specifiers: string[];
    line: number;
    isRelative: boolean;
    isPackage: boolean;
}
export declare function parseImports(content: string, filePath: string): ImportInfo[];
export declare function checkRelativeImport(importInfo: ImportInfo, sourceFilePath: string, projectPath: string): Promise<HallucinationFinding | null>;
export declare function checkPackageImport(importInfo: ImportInfo, projectPath: string): Promise<HallucinationFinding | null>;
export declare function checkDeprecatedAPIs(content: string, filePath: string): HallucinationFinding[];
export declare function checkMixedFrameworks(content: string, filePath: string): HallucinationFinding[];
export declare function checkFileForHallucinations(filePath: string, projectPath: string, content?: string): Promise<HallucinationFinding[]>;
export declare function scanDirectoryForHallucinations(projectPath: string, options?: {
    extensions?: string[];
    exclude?: string[];
}): Promise<{
    files: number;
    findings: HallucinationFinding[];
    summary: {
        byType: Record<HallucinationType, number>;
        bySeverity: Record<string, number>;
    };
}>;
export declare function calculateHallucinationScore(findings: HallucinationFinding[]): number;
export {};
//# sourceMappingURL=hallucination-checker.d.ts.map