// src/lib/integrations/meta/index.ts
// Meta (Facebook + Instagram) Integration Module

// OAuth & Configuration
export * from './oauth'

// Clients
export { MetaBaseClient, MetaApiError } from './MetaBaseClient'
export { FacebookClient } from './FacebookClient'
export { InstagramClient } from './InstagramClient'

// Sync Services
export { FacebookSyncService } from './FacebookSyncService'
export { InstagramSyncService } from './InstagramSyncService'

// Re-export types
export type {
  // OAuth Types
  MetaTokens,
  MetaLongLivedToken,
  MetaTokenDebugInfo,
  MetaOAuthState,
  MetaUser,
  // Facebook Types
  FacebookPage,
  FacebookPost,
  FacebookComment,
  FacebookConversation,
  FacebookMessage,
  FacebookPageInsight,
  // Instagram Types
  InstagramBusinessAccount,
  InstagramMedia,
  InstagramComment,
  InstagramMention,
  InstagramStoryMention,
  InstagramConversation,
  InstagramMessage,
  InstagramInsight,
  // Common Types
  MetaSyncResult,
  MetaSyncOptions,
  MetaPaginatedResponse,
  MetaErrorResponse,
} from '@/types/meta'
