import { EmailComposer } from '@ionic-native/email-composer' ; export interface EmailComposerOptions { app ? : string ; to ? : string | Array < string > ; cc ? : string | Array < string > ; bcc ? : string | Array < string > ; attachments ? : Array < any > ; subject ? : string ; body ? : string ; isHtml ? : boolean ; } export class EmailComposerMock extends EmailComposer { param app { string } returns { Promise < any > } isAvailable ( app ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param alias { string } param packageName { string } addAlias ( alias , packageName ) { } ; param options { EmailComposerOptions } param scope { any } returns { Promise < any > } open ( options , scope ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }