text: declare module "cordova-plugin-email-composer" {
    /**
     * The plugin provides access to the standard interface that manages the
     * editing and sending an email message
     */
    declare interface CordovaPluginEmailComposer {
      /**
       * Determine if the device is capable to send emails
       */
      isAvailable(callback: (isAvailable: boolean) => void, scope?: any): void;
  
      /**
       * Open a pre-filled email draft
       */
      open(
        options?: ICordovaPluginEmailComposerOpenOptions,
        callback?: () => void,
        scope?: any
      ): void;
      openDraft(
        options?: ICordovaPluginEmailComposerOpenOptions,
        callback?: () => void,
        scope?: any
      ): void;
    }
    declare interface ICordovaPluginEmailComposerOpenOptions {
      /**
       * An configured email account is required to send emails
       */
      to?: string[];
      body?: string;
      cc?: string[];
      bcc?: string[];
  
      /**
       * Attachments can be either base64 encoded datas, files from the the device storage or assets from within the www folder
       */
      attachments?: any[];
      subject?: string;
  
      /**
       * The default value for isHTML is true
       */
      isHtml?: boolean;
    }
    declare interface CordovaPlugins {
      email: CordovaPluginEmailComposer;
    }
  }
  