import { PhotoMetadata } from '../../../common/entities/PhotoDTO'; import { VideoMetadata } from '../../../common/entities/VideoDTO'; export declare class MetadataLoader { private static readonly EMPTY_METADATA; /** * True if exifr returned nothing but errors (with mergeOutput: false it reports them in an 'errors' section). */ private static isOnlyErrors; static loadVideoMetadata(fullPath: string): Promise; static loadPhotoMetadata(fullPath: string): Promise; private static mapMetadata; private static getOrientation; private static mapImageDimensions; private static mapKeywords; private static mapTitle; private static mapCaption; private static mapTimestampAndOffset; private static mapCameraData; private static mapGPS; private static mapToponyms; private static mapRating; private static mapFaces; private static mapExifReader; /** * Parse Apple MakerNote IFD to extract ContentIdentifier (tag 0x0011). * * Apple MakerNote format: * - Header: "Apple iOS\0" (10 bytes) + 2-byte version * - Byte order marker: "MM" (big-endian) or "II" (little-endian) * - Standard TIFF IFD: 2-byte entry count, then 12-byte entries * - Each IFD entry: tag(2) + type(2) + count(4) + value/offset(4) * * Tag reference: ExifTool Apple.pm by Phil Harvey * (https://github.com/exiftool/exiftool) */ static parseAppleMakerNoteContentId(makerNote: unknown): string | undefined; }