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.

20 lines 1.06 kB
import { PermissionResponse } from 'expo-modules-core'; import { ImagePickerResult, MediaType, MediaTypeOptions } from './ImagePicker.types'; declare const _default: { launchImageLibraryAsync({ mediaTypes, allowsMultipleSelection, base64, }: { mediaTypes?: MediaType[] | undefined; allowsMultipleSelection?: boolean | undefined; base64?: boolean | undefined; }): Promise<ImagePickerResult>; launchCameraAsync({ mediaTypes, allowsMultipleSelection, base64, }: { mediaTypes?: MediaTypeOptions | undefined; allowsMultipleSelection?: boolean | undefined; base64?: boolean | undefined; }): Promise<ImagePickerResult>; getCameraPermissionsAsync(): Promise<PermissionResponse>; requestCameraPermissionsAsync(): Promise<PermissionResponse>; getMediaLibraryPermissionsAsync(_writeOnly: boolean): Promise<PermissionResponse>; requestMediaLibraryPermissionsAsync(_writeOnly: boolean): Promise<PermissionResponse>; }; export default _default; //# sourceMappingURL=ExponentImagePicker.web.d.ts.map