2016-05-13 00:24:26 +08:00
|
|
|
declare module "node-iptc" {
|
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
function e(data): any;
|
2016-05-13 00:24:26 +08:00
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
module e {
|
|
|
|
}
|
2016-05-13 00:24:26 +08:00
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
export = e;
|
2016-05-13 00:24:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
declare module "exif-parser" {
|
2017-07-11 15:32:28 +08:00
|
|
|
export interface ExifData {
|
|
|
|
tags: any;
|
|
|
|
imageSize: any;
|
|
|
|
}
|
|
|
|
export interface ExifObject {
|
|
|
|
parse(): ExifData;
|
|
|
|
}
|
|
|
|
export function create(data: any): ExifObject;
|
|
|
|
|
|
|
|
export function enableTagNames(value: boolean);
|
|
|
|
|
|
|
|
export function enableImageSize(value: boolean);
|
|
|
|
|
|
|
|
export function enableReturnTags(value: boolean);
|
2016-05-13 00:24:26 +08:00
|
|
|
}
|
2017-07-11 15:32:28 +08:00
|
|
|
|