/**
 * Type definitions for Approver Performance page
 */


export interface ApproverPerformanceStats {
  total: number;
  approvedByApprover: number;
  rejectedByApprover: number;
  pendingByApprover: number;
  closedByApprover: number;
  breached: number;
  compliant: number;
  approvalRate: number;
  rejectionRate: number;
  tatComplianceRate: number;
  completedActions: number;
}

export interface ApproverPerformanceRequest {
  requestId: string;
  requestNumber: string;
  title: string;
  priority: string;
  status: string;
  approvalStatus?: string;
  slaStatus?: string;
  initiatorName?: string;
  initiatorDepartment?: string;
  submissionDate?: string | Date;
  approvalActionDate?: string | Date;
  levelNumber?: number;
  totalLevels?: number;
  levelElapsedHours?: number;
  levelTatHours?: number;
  isBreached?: boolean | number;
}

export interface ApproverPerformanceFilters {
  search?: string;
  status?: string;
  priority?: string;
  slaCompliance?: string;
  dateRange?: string;
  startDate?: Date;
  endDate?: Date;
}

