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 {
|
2017-07-12 00:43:10 +08:00
|
|
|
enableTagNames(value: boolean);
|
|
|
|
enableImageSize(value: boolean);
|
|
|
|
enableReturnTags(value: boolean);
|
2017-07-11 15:32:28 +08:00
|
|
|
parse(): ExifData;
|
2017-07-12 00:43:10 +08:00
|
|
|
|
2017-07-11 15:32:28 +08:00
|
|
|
}
|
|
|
|
export function create(data: any): ExifObject;
|
|
|
|
|
2016-05-13 00:24:26 +08:00
|
|
|
}
|
2017-07-11 15:32:28 +08:00
|
|
|
|