-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.d.ts
19 lines (19 loc) · 859 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/// <reference types="node" />
/// <reference types="node" />
import { Transform, type TransformOptions, type TransformCallback } from 'stream';
declare class ExifTransformer extends Transform {
remainingScrubBytes: number | undefined;
remainingGoodBytes: number | undefined;
pending: Array<Buffer>;
mode: 'png' | 'webp' | 'other' | undefined;
constructor(options?: TransformOptions);
_transform(chunk: any, _: BufferEncoding, callback: TransformCallback): void;
_final(callback: TransformCallback): void;
_scrub(atEnd: Boolean, chunk?: Buffer): void;
_scrubOther(atEnd: Boolean, chunk?: Buffer): void;
_scrubPNG(atEnd: Boolean, chunk?: Buffer): void;
_processPNGGood(chunk: Buffer): Buffer;
_scrubWEBP(atEnd: Boolean, chunk?: Buffer): void;
}
export default ExifTransformer;
//# sourceMappingURL=index.d.ts.map