/**
 * @deprecated 此文件已迁移至 frontend/lib/api/ 目录下的模块化结构。
 * 本文件保留仅为向后兼容，请新代码直接从 "@/lib/api" 导入。
 * NOTE: TypeScript 会优先解析此文件而非 lib/api/index.ts，故需保持完整转发。
 */
export {
  api,
  fetchWithAuth,
  getApiUrl,
  API_BASE,
  authApi,
  queriesApi,
  citationsApi,
  reportsApi,
  subscriptionsApi,
  adminApi,
  agentsApi,
  lifecycleApi,
  contentsApi,
  clientsApi,
  knowledgeApi,
  contentGenerationApi,
  distributionApi,
  analyticsApi,
  alertsApi,
  brandsApi,
  suggestionsApi,
  onboardingApi,
} from "./api/index";

export type {
  Agent,
  AgentRunLog,
  GeoProject,
  ProjectStage,
  ProjectStatus,
  LifecycleStats,
  CreateProjectPayload,
  UpdateProjectPayload,
  Content,
  ContentType,
  ContentStatus,
  KnowledgeEntry,
  CreateContentPayload,
  UpdateContentPayload,
  Client,
  ClientStatus,
  CreateClientPayload,
  UpdateClientPayload,
  KnowledgeBase,
  KnowledgeDocument,
  SearchResult,
  SearchResponse,
  CreateKnowledgeBasePayload,
  UploadDocumentPayload,
  OverviewStatsResponse,
  TopContentItem,
  TopContentResponse,
  InsightResponse,
  PublishRecordCreate,
  PublishRecordResponse,
  MetricsUpdateRequest,
  MetricsResponse,
  ContentPerformanceResponse,
  PlatformInfo,
  PlatformListResponse,
  ValidationIssue,
  ContentValidateResponse,
  ScheduleItem,
  PublishStrategyResponse,
  ContentFormatResponse,
  ScheduleCreateResponse,
  ContentGenerateRequest,
  ContentGenerateResponse,
  PipelineStage,
  TopicItem,
  GenerateTopicsResponse,
} from "./api/index";
