import { CameraOptions } from '@awesome-cordova-plugins/camera/ngx'; import { ImagePickerOptions } from '@awesome-cordova-plugins/image-picker/ngx'; import { SafeResourceUrl } from '@angular/platform-browser'; import * as i0 from "@angular/core"; export interface ResourceResult { url: SafeResourceUrl; data: string; } export declare enum SourceType { PHOTOLIBRARY = "PHOTOLIBRARY", DOCUMENT = "DOCUMENT" } export interface DocumentOptions { sourceType: SourceType; fileTypes: string[]; title?: string; multiple?: boolean; compress?: boolean; } export interface PictureOptions { file?: boolean; camera?: boolean; count?: number; option?: CameraOptions | ImagePickerOptions; sizeType?: string[]; } export declare class CTYPhotoService { private ctyInspectService; private ctyUtilService; private camera; private imagePicker; private isMicroMessenger; constructor(); private AppGetPicture; private AppImagePicker; private WXGetPicture; private TakePhoto; private PickerPicture; /** * take photo or choose photo * @param {PictureOptions} [options] * @returns {Promise} */ GetPicture(options?: PictureOptions): Promise; /** * Gets the media resource file * @param {DocumentOptions} [options] * @returns {Promise} */ GetMediaFile(options: DocumentOptions): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }