template-project/node_modules/exiftool-vendored/dist/GPS.d.ts
2025-05-30 18:13:30 +08:00

19 lines
644 B
TypeScript

import { ExifToolOptions } from "./ExifToolOptions";
import { Maybe } from "./Maybe";
export type GpsLocationTags = {
GPSLatitude?: number;
GPSLatitudeRef?: string;
GPSLongitude?: number;
GPSLongitudeRef?: string;
GPSPosition?: string;
GeolocationPosition?: string;
};
export declare const GpsLocationTagNames: (keyof GpsLocationTags)[];
export interface GpsParseResult {
result: GpsLocationTags;
details: string;
invalid: boolean;
warnings: string[];
}
export declare function parseGPSLocation(tags: GpsLocationTags, opts: Pick<ExifToolOptions, "ignoreZeroZeroLatLon">): Maybe<Partial<GpsParseResult>>;