import 'dart:io'; import 'dart:typed_data'; import 'package:immich_mobile/entities/asset.entity.dart'; abstract interface class IFileMediaRepository { Future saveImage( Uint8List data, { required String title, String? relativePath, }); Future saveImageWithFile( String filePath, { String? title, String? relativePath, }); Future saveVideo( File file, { required String title, String? relativePath, }); Future saveLivePhoto({ required File image, required File video, required String title, }); Future clearFileCache(); Future enableBackgroundAccess(); Future requestExtendedPermissions(); }