/**
 * The default JPEG encoder.
 * Utilises a hidden canvas to convert a byte array buffer into a jpeg
 * @param buffer The buffer to convert
 * @param width Width of the image
 * @param height Hieght of the image
 */
export declare function encodeJPEG(buffer: Uint8Array, width: number, height: number): Promise<Uint8Array>;
//# sourceMappingURL=jpeg.d.ts.map