// Export the new Qwen API client
export { QwenAPIClient, QWEN_MODELS, QWEN_LIMITS } from '../services/qwen-api-client'

// Legacy compatibility exports
export type { QwenAuthConfig, QwenTokenResponse, QwenChatRequest, QwenChatResponse, QwenImageRequest, QwenImageResponse } from '../services/qwen-api-client'

// Create default instance
export const qwenAPI = new QwenAPIClient({
  clientId: process.env.NEXT_PUBLIC_QWEN_CLIENT_ID || 'demo_client_id',
  clientSecret: process.env.QWEN_CLIENT_SECRET || 'demo_client_secret',
  redirectUri: process.env.NEXT_PUBLIC_QWEN_REDIRECT_URI || 'http://localhost:3000/auth',
})

export default QwenAPIClient