/**
 * Analytics event type definitions for metrics collection.
 *
 * Three event types capture review findings, fix actions, and step results
 * for local-only analysis when analytics.enabled = true.
 */
/** Status of a review finding across iterations */
export type FindingStatus = 'new' | 'persists' | 'resolved';
/** Severity level of a review finding */
export type FindingSeverity = 'error' | 'warning';
/** Decision taken on a finding */
export type FindingDecision = 'reject' | 'approve';
/** Action taken to address a finding */
export type FixActionType = 'fixed' | 'rebutted' | 'not_applicable';
/** Review finding event — emitted per finding during review steps */
export interface ReviewFindingEvent {
    type: 'review_finding';
    findingId: string;
    status: FindingStatus;
    ruleId: string;
    severity: FindingSeverity;
    decision: FindingDecision;
    file: string;
    line: number;
    iteration: number;
    runId: string;
    timestamp: string;
}
/** Fix action event — emitted per finding addressed during fix steps */
export interface FixActionEvent {
    type: 'fix_action';
    findingId: string;
    action: FixActionType;
    changedFiles?: string[];
    testCommand?: string;
    testResult?: string;
    iteration: number;
    runId: string;
    timestamp: string;
}
/** Step result event — emitted after each step completes */
export interface StepResultEvent {
    type: 'step_result';
    step: string;
    provider: string;
    model: string;
    decisionTag: string;
    iteration: number;
    runId: string;
    timestamp: string;
}
/** Union of all analytics event types */
export type AnalyticsEvent = ReviewFindingEvent | FixActionEvent | StepResultEvent;
//# sourceMappingURL=events.d.ts.map