export interface StaffMember {
  id: string
  first_name?: string
  last_name: string
  full_name?: string
  title?: string
  position?: string
  position_type?: string
  is_professor: boolean
  email?: string
  profile_url?: string
  photo_url?: string
  orcid?: string
  research_interests?: string[]
  university_name?: string
  university_short?: string
  department_name?: string
  publication_count: number
}

export interface Publication {
  id: string
  title: string
  abstract?: string
  year?: number
  pub_type?: string
  venue?: string
  doi?: string
  url?: string
  citation_count: number
}

export interface StaffStats {
  total_staff: number
  total_professors: number
  total_publications: number
  total_universities: number
  by_state?: Record<string, number>
  by_uni_type?: Record<string, number>
  by_position_type?: Record<string, number>
}

export interface University {
  id: string
  name: string
  short_name?: string
  url: string
  state?: string
  uni_type?: string
}

export const EDU_SEARCH_API = process.env.NEXT_PUBLIC_EDU_SEARCH_URL || 'http://localhost:8086'
