%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/next/dist/server/lib/squoosh/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/next/dist/server/lib/squoosh/main.d.ts

/// <reference types="node" />
/// <reference types="node" />
declare type RotateOperation = {
    type: 'rotate';
    numRotations: number;
};
declare type ResizeOperation = {
    type: 'resize';
} & ({
    width: number;
    height?: never;
} | {
    height: number;
    width?: never;
} | {
    width: number;
    height: number;
});
export declare type Operation = RotateOperation | ResizeOperation;
export declare type Encoding = 'jpeg' | 'png' | 'webp' | 'avif';
export declare function getMetadata(buffer: Buffer): Promise<{
    width: number;
    height: number;
}>;
export declare function processBuffer(buffer: Buffer, operations: Operation[], encoding: Encoding, quality: number): Promise<Buffer>;
export declare function decodeBuffer(buffer: Buffer): Promise<import("./image_data").default>;
export {};

Zerion Mini Shell 1.0