import { Mixpanel , MixpanelPeople } from '@ionic-native/mixpanel' ; export class MixpanelMock extends Mixpanel { param aliasId { string } param originalId { string } returns { Promise < any > } alias ( aliasId , originalId ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } distinctId ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } flush ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param distinctId { string } returns { Promise < any > } identify ( distinctId ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param token { string } returns { Promise < any > } init ( token ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param superProperties { any } returns { Promise < any > } registerSuperProperties ( superProperties ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } reset ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param eventName { string } returns { Promise < any > } timeEvent ( eventName ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param eventName { string } param eventProperties { any } returns { Promise < any > } track ( eventName , eventProperties ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; } hidden export class MixpanelPeopleMock extends MixpanelPeople { param distinctId { string } return { Promise < any > } identify ( distinctId ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param peopleProperties { string } return { Promise < any > } increment ( peopleProperties ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param pushId return { Promise < any > } setPushId ( pushId ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param peopleProperties return { Promise < any > } set ( peopleProperties ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param peopleProperties return { Promise < any > } setOnce ( peopleProperties ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }