11 lines
319 B
TypeScript
11 lines
319 B
TypeScript
/// <reference types="node" />
|
|
export declare class Image {
|
|
private thumbnailCache;
|
|
private thumbnailHash;
|
|
private blankCache;
|
|
private blankHash;
|
|
constructor();
|
|
thumbnail(path: string, width: number, height: number): Promise<Buffer>;
|
|
blank(width: number, height: number): Promise<Buffer>;
|
|
}
|