UNPKG

cordova-plugin-admob-suite

Version:
21 lines (20 loc) 764 B
import { Events, NativeActions } from './constants'; import AdMobState from './state'; export { Events, NativeActions }; export declare const enum Platforms { android = "android", ios = "ios" } export declare function execAsync(action: NativeActions, args?: any[]): Promise<{}>; export declare function fireDocumentEvent(eventName: string, data?: null): void; export declare function waitEvent(successEvent: any, failEvent?: string): Promise<{}>; export declare type AdUnitIDOption = string | { android: string; ios: string; }; export declare class AdBase { protected state: AdMobState; protected testAdUnitID: any; constructor(state: AdMobState); protected resolveAdUnitID(adUnitID?: AdUnitIDOption): string; }