/** * BigCrunch Mobile Ads SDK for React Native * * @packageDocumentation */ // Main SDK API export { BigCrunchAds, default as BigCrunchAdsDefault } from './BigCrunchAds'; // Ad Components and APIs export { BigCrunchBannerView, default as BigCrunchBannerViewDefault } from './BigCrunchBannerView'; export { BigCrunchInterstitial, default as BigCrunchInterstitialDefault } from './BigCrunchInterstitial'; export { BigCrunchRewarded, default as BigCrunchRewardedDefault } from './BigCrunchRewarded'; // Import defaults for the default export import BigCrunchAds from './BigCrunchAds'; import BigCrunchBannerView from './BigCrunchBannerView'; import BigCrunchInterstitial from './BigCrunchInterstitial'; import BigCrunchRewarded from './BigCrunchRewarded'; // Export all types export * from './types'; // Re-export commonly used types at top level for convenience export type { // Initialization InitializationOptions, Environment, // Ad formats and sizes AdFormat, BannerSize, CustomSize, // Ad components BigCrunchBannerViewProps, InterstitialAd, RewardedAd, // Events AdEvent, AdEventListener, EventSubscription, AdError, AdRevenue, // Configuration AppConfig, PlacementConfig, // Analytics SessionInfo, DeviceContext, } from './types'; // Export error codes enum export { AdErrorCode } from './types'; // Version - read from package.json // eslint-disable-next-line @typescript-eslint/no-var-requires export const SDK_VERSION: string = require('../package.json').version; /** * Default export for convenience */ export default { BigCrunchAds, BigCrunchBannerView, BigCrunchInterstitial, BigCrunchRewarded, SDK_VERSION, };