UNPKG

expo-image-picker

Version:

Provides access to the system's UI for selecting images and videos from the phone's library or taking a photo with the camera.

13 lines (12 loc) 725 B
import { PermissionResponse } from 'unimodules-permissions-interface'; import { ImagePickerResult, ImagePickerOptions } from './ImagePicker.types'; declare const _default: { readonly name: string; launchImageLibraryAsync({ mediaTypes, allowsMultipleSelection, }: ImagePickerOptions): Promise<ImagePickerResult>; launchCameraAsync({ mediaTypes, allowsMultipleSelection, }: ImagePickerOptions): Promise<ImagePickerResult>; getCameraPermissionsAsync(): Promise<PermissionResponse>; requestCameraPermissionsAsync(): Promise<PermissionResponse>; getCameraRollPermissionsAsync(): Promise<PermissionResponse>; requestCameraRollPermissionsAsync(): Promise<PermissionResponse>; }; export default _default;