2018-03-31 03:30:30 +08:00
|
|
|
declare module 'node-iptc' {
|
2016-05-13 00:24:26 +08:00
|
|
|
|
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
|
|
|
|
2018-03-31 03:30:30 +08:00
|
|
|
export = e;
|
2016-05-13 00:24:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-03-31 03:30:30 +08:00
|
|
|
declare module 'exif-parser' {
|
2017-07-11 15:32:28 +08:00
|
|
|
export interface ExifData {
|
|
|
|
tags: any;
|
|
|
|
imageSize: any;
|
|
|
|
}
|
2018-03-31 03:30:30 +08:00
|
|
|
|
2017-07-11 15:32:28 +08:00
|
|
|
export interface ExifObject {
|
2017-07-12 00:43:10 +08:00
|
|
|
enableTagNames(value: boolean);
|
2018-03-31 03:30:30 +08:00
|
|
|
|
2017-07-12 00:43:10 +08:00
|
|
|
enableImageSize(value: boolean);
|
2018-03-31 03:30:30 +08:00
|
|
|
|
2017-07-12 00:43:10 +08:00
|
|
|
enableReturnTags(value: boolean);
|
2018-03-31 03:30:30 +08:00
|
|
|
|
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
|
|
|
}
|
2018-03-31 03:30:30 +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
|
|
|
|