import type { CameraPlugin, ImageOptions, Photo, GalleryPhotos, GalleryImageOptions, CameraPermissionStatus } from './definitions'; /** * CameraHuawei implements the same CameraPlugin interface as * @capacitor/camera, routing calls through the Huawei JS Bridge. * * Backed by HarmonyOS system pickers (no permissions required): * - CAMERA source: secure system camera (cameraPicker) * - PHOTOS source: system gallery (PhotoViewPicker) * - PROMPT source: ActionSheet letting the user choose * * User cancellation rejects with Error('User cancelled'), matching * the Capacitor behavior. */ export declare class CameraHuawei implements CameraPlugin { private bridge; constructor(); getPhoto(options: ImageOptions): Promise; pickImages(options?: GalleryImageOptions): Promise; /** * The system pickers need no permissions, so this always reports * 'granted' for both camera and photos. */ checkPermissions(): Promise; /** * The system pickers need no permissions, so this always reports * 'granted' for both camera and photos (request is a no-op). */ requestPermissions(): Promise; }