import { FlurryAnalytics , FlurryAnalyticsObject } from '@ionic-native/flurry-analytics' ; export interface FlurryAnalyticsOptions { /** Flurry API key is required */ appKey : string ; /**
     * Overrides the version of the app
     */ version ? : string ; /**
     * How long can the app be paused before a new session is created,
     * must be less than or equal to five for Android devices
     */ continueSessionSeconds ? : number ; /**
     * Set id of the user
     */ userId ? : string ; /**
     * Set gender of the user
     * Valid values are "m", "M", "f" and "F"
     */ gender ? : string ; /**
     * Set age of the user
     */ age ? : number ; /**
     * Set error for log
     * Values: VERBOSE, DEBUG, INFO, WARN, ERROR
     */ logLevel ? : string ; /**
     * Defaults to false
     */ enableLogging ? : boolean ; /**
     * Should every event show up the app's log, defaults to true
     */ enableEventLogging ? : boolean ; /**
     * Should app crashes be recorded in flurry, defaults to false, iOS only
     */ enableCrashReporting ? : boolean ; /**
     * Should the session continue when the app is the background, defaults to false, iOS only
     */ enableBackgroundSessions ? : boolean ; /**
     * Should data be pushed to flurry when the app closes, defaults to true, iOS only
     */ reportSessionsOnClose ? : boolean ; /**
     * Should data be pushed to flurry when the app is paused, defaults to true, iOS only
     */ reportSessionsOnPause ? : boolean ; } export interface FlurryAnalyticsLocation { latitude : number ; longitude : number ; /**
     * Set altitude
     * It is optional and use only for iOS
     */ verticalAccuracy ? : number ; /**
     * Set radius about 2d point
     * It is optional and use only for iOS
     */ horizontalAccuracy ? : number ; } hidden export class FlurryAnalyticsObjectMock extends FlurryAnalyticsObject { constructor ( _objectInstance ) { super ( _objectInstance ) ; } ; param eventName { string } param params { Object } return { Promise < any > } logEvent ( eventName , params ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param eventName { string } param params { Object } return { Promise < any > } startTimedEvent ( eventName , params ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param eventName { string } param params { Object } return { Promise < any > } endTimedEvent ( eventName , params ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param code param message return { Promise < any > } logError ( code , message ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < any > } logPageView ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param location { FlurryAnalyticsLocation } param message { string } return { Promise < any > } setLocation ( location , message ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < any > } startSession ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < any > } endSession ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; } export class FlurryAnalyticsMocks extends FlurryAnalytics { param options { FlurryAnalyticsOptions } return { FlurryAnalyticsObject } create ( options ) { let response ; return response ; } ; }