/** * This code was generated by "react-native codegen-harmony" * * Do not edit this file as changes may cause incorrect behavior and will be * lost once the code is regenerated. * * @generatorVersion: 1 */ export namespace RNCCameraRoll { export const NAME = 'RNCCameraRoll' as const export type Album = {id: string, title: string, count: number, type: unknown, subtype?: unknown} export type PhotoIdentifier = {node: {id: string, type: string, subTypes: unknown, sourceType: unknown, group_name: string[], image: {filename: null | string, filepath: null | string, extension: null | string, uri: string, height: number, width: number, fileSize: null | number, playableDuration: number, orientation: null | number}, timestamp: number, modificationTimestamp: number, location: null | {latitude?: number, longitude?: number, altitude?: number, heading?: number, speed?: number}}} export type PhotoIdentifiersPage = {edges: PhotoIdentifier[], page_info: {has_next_page: boolean, start_cursor?: string, end_cursor?: string}, limited?: boolean} export type PhotoThumbnail = {thumbnailBase64: string} export interface Spec { saveToCameraRoll(uri: string, options: Object): Promise; getPhotos(params: Object): Promise; getAlbums(params: Object): Promise; deletePhotos(photoUris: string[]): Promise; getPhotoByInternalID(internalID: string, options: Object): Promise; getPhotoThumbnail(internalID: string, options: Object): Promise; addListener(eventName: string): void; removeListeners(count: number): void; } }