import { SMS } from '@ionic-native/sms' ; /**
 * Options for sending an SMS
 */ export interface SmsOptions { /**
     * Set to true to replace \n by a new line. Default: false
     */ replaceLineBreaks ? : boolean ; android ? : SmsOptionsAndroid ; } export interface SmsOptionsAndroid { /**
     * Set to "INTENT" to send SMS with the native android SMS messaging. Leaving it empty will send the SMS without opening any app.
     */ intent ? : string ; } export class SMSMock extends SMS { param phoneNumber { string | Array < string > } param message { string } param options { SmsOptions } returns { Promise < any > } send ( phoneNumber , message , options ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < boolean > } hasPermission ( ) { let response = true ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; }