import type { TurboModule } from 'react-native'; export interface Spec extends TurboModule { image_compress(imagePath: string, optionMap: Object): Promise; getImageMetaData(filePath: string): Promise; compress(fileUrl: string, optionMap: Object): Promise; cancelCompression(uuid: string): void; getVideoMetaData(filePath: string): Promise; activateBackgroundTask(options: Object): Promise; deactivateBackgroundTask(options: Object): Promise; compress_audio(fileUrl: string, optionMap: Object): Promise; upload(fileUrl: string, options: Object): Promise; cancelUpload(uuid: string, shouldCancelAll: boolean): void; download(fileUrl: string, options: Object): Promise; generateFilePath(_extension: string): Promise; getRealPath(path: string, type: string): Promise; getFileSize(filePath: string): Promise; addListener(eventName: string): void; removeListeners(count: number): void; createVideoThumbnail(fileUrl: string, options: Object): Promise<{ path: string; size: number; mime: string; width: number; height: number; }>; clearCache(cacheDir: string | null): Promise; } declare const _default: Spec; export default _default; //# sourceMappingURL=NativeCompressor.d.ts.map