/** * Native module interface for BigCrunch Ads * This is the bridge to the native Android/iOS implementation */ import { NativeEventEmitter } from 'react-native'; import type { InitializationOptions, AdRequestOptions, SessionInfo, DeviceContext, AppConfig, ScreenViewOptions } from './types'; export interface NativeBigCrunchAdsModule { initialize(options: InitializationOptions): Promise; isInitialized(): Promise; getAppConfig(): Promise; refreshConfig(): Promise; trackScreenView(screenName: string, options: ScreenViewOptions | null): Promise; loadInterstitial(options: AdRequestOptions): Promise; showInterstitial(placementId: string): Promise; isInterstitialLoaded(placementId: string): Promise; destroyInterstitial(placementId: string): Promise; loadRewarded(options: AdRequestOptions): Promise; showRewarded(placementId: string): Promise; isRewardedLoaded(placementId: string): Promise; destroyRewarded(placementId: string): Promise; getSessionInfo(): Promise; startNewSession(): Promise; getDeviceContext(): Promise; setGdprConsent(consent: string): Promise; setCcpaString(ccpaString: string): Promise; setCoppaCompliant(isCompliant: boolean): Promise; setAccountType(accountType: string): Promise; setDebugMode(enabled: boolean): Promise; addTestDevice(deviceId: string): Promise; removeTestDevice(deviceId: string): Promise; getTestDevices(): Promise; setUTMParameters(params: { source?: string; medium?: string; campaign?: string; term?: string; content?: string; }): Promise; clearUTMParameters(): Promise; } export declare const NativeBigCrunchAds: NativeBigCrunchAdsModule; export declare const BigCrunchAdsEventEmitter: NativeEventEmitter; export declare const NativeEventNames: { readonly BANNER_AD_LOADED: "BigCrunchBannerAdLoaded"; readonly BANNER_AD_FAILED_TO_LOAD: "BigCrunchBannerAdFailedToLoad"; readonly BANNER_AD_IMPRESSION: "BigCrunchBannerAdImpression"; readonly BANNER_AD_CLICKED: "BigCrunchBannerAdClicked"; readonly BANNER_AD_OPENED: "BigCrunchBannerAdOpened"; readonly BANNER_AD_CLOSED: "BigCrunchBannerAdClosed"; readonly BANNER_AD_REVENUE: "BigCrunchBannerAdRevenue"; readonly BANNER_AD_VIEWABLE: "BigCrunchBannerAdViewable"; readonly INTERSTITIAL_AD_LOADED: "BigCrunchInterstitialAdLoaded"; readonly INTERSTITIAL_AD_FAILED_TO_LOAD: "BigCrunchInterstitialAdFailedToLoad"; readonly INTERSTITIAL_AD_FAILED_TO_SHOW: "BigCrunchInterstitialAdFailedToShow"; readonly INTERSTITIAL_AD_IMPRESSION: "BigCrunchInterstitialAdImpression"; readonly INTERSTITIAL_AD_CLICKED: "BigCrunchInterstitialAdClicked"; readonly INTERSTITIAL_AD_OPENED: "BigCrunchInterstitialAdOpened"; readonly INTERSTITIAL_AD_CLOSED: "BigCrunchInterstitialAdClosed"; /** Reserved: not currently emitted by the native SDKs (revenue is tracked natively via ILRD) */ readonly INTERSTITIAL_AD_REVENUE: "BigCrunchInterstitialAdRevenue"; readonly REWARDED_AD_LOADED: "BigCrunchRewardedAdLoaded"; readonly REWARDED_AD_FAILED_TO_LOAD: "BigCrunchRewardedAdFailedToLoad"; readonly REWARDED_AD_FAILED_TO_SHOW: "BigCrunchRewardedAdFailedToShow"; readonly REWARDED_AD_IMPRESSION: "BigCrunchRewardedAdImpression"; readonly REWARDED_AD_CLICKED: "BigCrunchRewardedAdClicked"; readonly REWARDED_AD_OPENED: "BigCrunchRewardedAdOpened"; readonly REWARDED_AD_CLOSED: "BigCrunchRewardedAdClosed"; /** Reserved: not currently emitted by the native SDKs (revenue is tracked natively via ILRD) */ readonly REWARDED_AD_REVENUE: "BigCrunchRewardedAdRevenue"; readonly REWARDED_AD_EARNED: "BigCrunchRewardedAdEarned"; readonly CONFIG_UPDATED: "BigCrunchConfigUpdated"; readonly CONFIG_FAILED: "BigCrunchConfigFailed"; readonly SESSION_STARTED: "BigCrunchSessionStarted"; /** Reserved: not currently emitted by the native SDKs */ readonly SESSION_ENDED: "BigCrunchSessionEnded"; }; //# sourceMappingURL=NativeBigCrunchAds.d.ts.map