declare module HeyzapAds { export function start(publisherId: string): Promise; export module InterstitialAd { export var Events: { SHOW_FAILED: string; SHOW: string; CLICKED: string; HIDE: string; }; export function show(): Promise; export function addEventListener(target: string, call: () => void): void; } export module VideoAd { export var Events: { SHOW_FAILED: string; SHOW: string; CLICKED: string; HIDE: string; }; export function show(): Promise; export function fetch(): Promise; export function addEventListener(target: string, call: () => void): void; } export module IncentivizedAd { export var Events: { SHOW_FAILED: string; SHOW: string; CLICKED: string; HIDE: string; }; export function show(): Promise; export function fetch(): Promise; export function addEventListener(target: string, call: () => void): void; } export module BannerAd { export var POSITION_TOP: string; export var POSITION_BOTTOM: string; export var Events: { SHOW_FAILED: string; SHOW: string; CLICKED: string; }; export function show(position: string): Promise; export function hide(): Promise; export function destroy(): Promise; export function addEventListener(target: string, call: () => void): void; } }