/**
 * Failed to minify the file using Terser v5.39.0. Serving the original version.
 * Original file: /npm/react-native-albums@0.0.2/Albums.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
import { NativeModules } from 'react-native';

type imageListOptions = {
    title: ?boolean,
    name: ?boolean,
    size: ?boolean,
    description: ?boolean,
    location: ?boolean,
    date: ?boolean,
    orientation: ?boolean,
    type: ?boolean,
    album: ?boolean,
    dimensions: ?boolean
};

type albumListOptions = {
    count: ?boolean,
    thumbnail: ?boolean,
    thumbnailDimensions: ?boolean
};

export default {
    getImageList(options: imageListOptions = {}) {
        return NativeModules.RNAlbumsModule.getImageList(options);
    },

    getAlbumList(options: albumListOptions = {}) {
        return NativeModules.RNAlbumsModule.getAlbumList(options);
    }
};
