%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/impl.d.ts

/// <reference types="node" />
/// <reference types="node" />
import ImageData from './image_data';
export declare function decodeBuffer(_buffer: Buffer | Uint8Array): Promise<ImageData>;
export declare function rotate(image: ImageData, numRotations: number): Promise<ImageData>;
declare type ResizeOpts = {
    image: ImageData;
} & ({
    width: number;
    height?: never;
} | {
    height: number;
    width?: never;
} | {
    height: number;
    width: number;
});
export declare function resize({ image, width, height }: ResizeOpts): Promise<ImageData>;
export declare function encodeJpeg(image: ImageData, { quality }: {
    quality: number;
}): Promise<Buffer | Uint8Array>;
export declare function encodeWebp(image: ImageData, { quality }: {
    quality: number;
}): Promise<Buffer | Uint8Array>;
export declare function encodeAvif(image: ImageData, { quality }: {
    quality: number;
}): Promise<Buffer | Uint8Array>;
export declare function encodePng(image: ImageData): Promise<Buffer | Uint8Array>;
export {};

Zerion Mini Shell 1.0