export type Severity = "CRITICAL" | "HIGH" | "MEDIUM" | "LOW"; export type Verdict = "APPROVED" | "NEUTRAL" | "CHANGES_REQUESTED"; export type Platform = "github" | "azure" | "gitlab"; export type ReviewEvent = "APPROVE" | "REQUEST_CHANGES" | "COMMENT"; export type StatusState = "pending" | "success" | "failure" | "error"; export interface Finding { ruleId: string; severity: Severity; category: "security" | "regression" | "static" | "quality"; filePath: string; line?: number; message: string; detail?: string; suggestion?: string; score: number; } export interface DiffFile { path: string; status: "added" | "modified" | "deleted" | "renamed"; additions: number; deletions: number; content?: string; patch?: string; } export interface PRMetadata { owner: string; repo: string; prNumber: number; title: string; description?: string; baseBranch: string; headBranch: string; headSha: string; author: string; createdAt: string; updatedAt: string; } export interface AnalyzeResult { score: number; verdict: Verdict; findings: Finding[]; summary: string; } export interface PRReviewResult { reviewId: string; score: number; verdict: Verdict; findings: Finding[]; summary: string; approved: boolean; timestamp: string; metadata?: PRMetadata; } export interface AnalyzerConfig { threshold: number; autoApprove: boolean; } export interface DiffAnalysisRequest { diff: string; baseBranch?: string; workspaceRoot?: string; } export interface PRReviewRequest { platform: Platform; repo: string; prNumber: number; autoApprove?: boolean; threshold?: number; context?: string; } export interface WorkflowConfig { platform: Platform; autoApprove: boolean; threshold: number; } export interface AdapterConfig { token?: string; baseUrl?: string; } //# sourceMappingURL=types.d.ts.map