import { apiClient } from './api'

export interface DeveloperStats {
  total_projects: number
  total_tasks: number
  total_submissions: number
  api_usage_count: number
}

export const developerService = {
  async getStats(): Promise<DeveloperStats> {
    const response = await apiClient.get('/developer/stats')
    return response.data
  }
}
