import { z } from 'zod';
export const ReviewFindingSeveritySchema = z.enum([
    'blocker',
    'high',
    'medium',
    'low',
    'nit',
]);
export const ReviewFindingCategorySchema = z.enum([
    'correctness',
    'security',
    'performance',
    'maintainability',
    'testing',
    'style',
    'docs',
]);
export const ReviewFindingSchema = z.object({
    id: z.string().min(1),
    title: z.string().min(1),
    severity: ReviewFindingSeveritySchema,
    category: ReviewFindingCategorySchema,
    filePath: z.string().min(1).optional(),
    startLine: z.number().int().min(1).optional(),
    endLine: z.number().int().min(1).optional(),
    summary: z.string().min(1),
    whyItMatters: z.string().min(1).optional(),
    evidence: z.string().min(1).optional(),
    confidence: z.number().min(0).max(1).optional(),
    suggestion: z.string().min(1).optional(),
    patch: z.string().min(1).optional(),
}).passthrough();
//# sourceMappingURL=ReviewFinding.js.map