import { ImagePicker } from '@ionic-native/image-picker' ; export interface ImagePickerOptions { /**
     * max images to be selected, defaults to 15. If this is set to 1, upon selection of a single image, the plugin will return it. (Android only)
     */ maximumImagesCount ? : number ; /**
     * Max width to allow images to be
     */ width ? : number ; /**
     * Max height to allow images to be
     */ height ? : number ; /**
     * Quality of images, defaults to 100
     */ quality ? : number ; /**
     * Output type, defaults to 0  (FILE_URI).
     */ outputType ? : number ; } export class ImagePickerMock extends ImagePicker { param { ImagePickerOptions } options returns { Promise < any > } getPictures ( options ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < boolean > } hasReadPermission ( ) { return new Promise ( ( resolve , reject ) => { resolve ( true ) ; } ) ; } ; returns { Promise < any > } requestReadPermission ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }