export declare enum VideoType { "vast", "vmap" } export declare interface AudioAdData { id: number, name: string, url: string, imageUrl?: string, audioUrl: string, campaign: number, impressionUrl?: string } interface Lap { version: string, app: string, getVideoAd: (type: VideoType) => string, getAudioAd: () => Promise } declare interface LapOptions { interstitialInterval?: number; } declare namespace lap { function init(app: string, options?: LapOptions): Promise; function getVideoAd(type: VideoType, app?: string): string; function getAudioAd(app?: string): Promise; }