import { Buffer } from "node:buffer"; /** * Compresses an image with the given parameters. * * @param imageBuffer Buffer representation of an image. * @param quality Quality to apply to the image (JPEG). * @param maxWidth Maximum bound for width. * @param maxHeight Maximum bound for height. */ export declare function compressImage(imageBuffer: Buffer, quality?: number, maxWidth?: number | null, maxHeight?: number | null): Promise>;