export interface RejectedDocument {
  id: string;
  fileName: string;
  fileUrl: string;
  fileType: string | null;
  aiVerificationNotes: string | null;
  updatedAt: string;
}

export interface ManagerRejection {
  remarks: string | null;
  actedAt: string | null;
  approvedByEmployeeId: string | null;
}

export interface TaskRejectionsResponse {
  employeeRejectedDocuments: RejectedDocument[];
  managerRejection: ManagerRejection | null;
}

export interface UseTaskRejectionsResult {
  data: TaskRejectionsResponse | null;
  isLoading: boolean;
  error: string | null;
  refetch: () => void;
}

export interface TaskRejectionsPanelProps {
  taskId: string;
}
