declare module "react-native-image-crop-picker" { export interface Options { cropping?: boolean; width?: number; height?: number; multiple?: boolean; path?: string; includeBase64?: boolean; includeExif?: boolean; avoidEmptySpaceAroundImage?: boolean; cropperActiveWidgetColor?: string; cropperStatusBarColor?: string; cropperToolbarColor?: string; cropperToolbarTitle?: string; freeStyleCropEnabled?: boolean; cropperTintColor?: string; cropperCircleOverlay?: boolean; disableCropperColorSetters?: boolean; maxFiles?: number; waitAnimationEnd?: boolean; smartAlbums?: string[]; useFrontCamera?: boolean; compressVideoPreset?: string; compressImageMaxWidth?: number; compressImageMaxHeight?: number; compressImageQuality?: number; loadingLabelText?: string; mediaType?: string; showsSelectedCount?: boolean; forceJpg?: boolean; showCropGuidelines?: boolean; hideBottomControls?: boolean; enableRotationGesture?: boolean; cropperCancelText?: string; cropperChooseText?: string; } export interface Image { path: string; size: number; data: null | string; width: number; height: number; mime: string; exif: null | object; cropRect: null | CropRect; filename: string; creationDate: string; modificationDate?: string; } export interface CropRect { x: number; y: number; width: number; height: number; } export function openPicker(options: Options): Promise; export function openCamera(options: Options): Promise; export function openCropper(options: Options): Promise; export function clean(): Promise; export function cleanSingle(path: string): Promise; export interface ImageCropPicker { openPicker(options: Options): Promise; openCamera(options: Options): Promise; openCropper(options: Options): Promise; clean(): Promise; cleanSingle(path: string): Promise; } const ImageCropPicker: ImageCropPicker; export default ImageCropPicker; }