UNPKG

react-native-aps

Version:
12 lines (11 loc) 486 B
import { TurboModule } from 'react-native'; import type { AdLoaderOptions, AdType, BannerAdLoaderOptions } from '../types'; export interface Spec extends TurboModule { loadAd: (loaderId: number, adType: AdType, options: AdLoaderOptions | BannerAdLoaderOptions) => Promise<{ [key: string]: string; }>; stopAutoRefresh: (loaderId: number) => void; skadnHelper: (name: string, info?: string) => void; } declare const _default: Spec | null; export default _default;