// 验证包导出接口可用性
console.log('=== 认证管理界面包导出接口验证 ===\n');

try {
  // 尝试导入包
  const packageExports = require('./src/index.ts');

  console.log('✅ 包导入成功');
  console.log('\n导出接口列表:');
  console.log('- AuthProvider:', typeof packageExports.AuthProvider);
  console.log('- useAuth:', typeof packageExports.useAuth);
  console.log('- LoginPage:', typeof packageExports.LoginPage);
  console.log('- AuthManagement:', typeof packageExports.AuthManagement);
  console.log('- authClient:', typeof packageExports.authClient);
  console.log('- authEndpoints:', typeof packageExports.authEndpoints);

  console.log('\n✅ 所有核心导出接口可用');
} catch (error) {
  console.log('❌ 包导入失败:', error.message);
}

console.log('\n=== 验证完成 ===');