/**
 * AI Code Verification Types
 *
 * Types for detecting AI-generated code, hallucination checking,
 * and confidence scoring.
 *
 * @module scanners/ai-code/types
 */
import { z } from "zod";
/**
 * AI verification config
 */
export const AIVerifyConfigSchema = z.object({
    // Detection settings
    detection: z.object({
        checkPatterns: z.boolean().default(true),
        checkComments: z.boolean().default(true),
        checkImports: z.boolean().default(true),
        checkMetadata: z.boolean().default(true),
    }).optional(),
    // Hallucination checking
    hallucination: z.object({
        checkImports: z.boolean().default(true),
        checkApis: z.boolean().default(true),
        checkVersions: z.boolean().default(true),
        packageRegistry: z.enum(["npm", "pypi", "crates"]).default("npm"),
    }).optional(),
    // Review requirements
    review: z.object({
        requireForConfidence: z.enum(["high", "medium", "low"]).default("medium"),
        requireForHallucinations: z.boolean().default(true),
        autoApproveBelow: z.number().min(0).max(100).default(30),
    }).optional(),
    // Excluded paths
    exclude: z.array(z.string()).optional(),
});
//# sourceMappingURL=types.js.map