import { EncodedImage, PrintDirection } from "@mmote/niimbluelib";
import sharp from "sharp";
export declare class ImageEncoder {
    static encodeImage(src: sharp.Sharp, printDirection?: PrintDirection): Promise<EncodedImage>;
    static isPixelNonWhite(buf: Buffer<ArrayBufferLike>, imgWidth: number, imgHeight: number, x: number, y: number, printDirection?: PrintDirection): boolean;
}
