export class JpegImage {
    /**
     *
     * @param {Uint8Array} data
     */
    parse(data: Uint8Array): void;
    /**
     *
     * @type {string[]}
     */
    comments: string[];
    exifBuffer: Uint8Array;
    width: number;
    height: number;
    jfif: {
        version: {
            major: number;
            minor: number;
        };
        densityUnits: number;
        xDensity: number;
        yDensity: number;
        thumbWidth: number;
        thumbHeight: number;
        thumbData: Uint8Array;
    };
    adobe: {
        version: number;
        flags0: number;
        flags1: number;
        transformCode: number;
    };
    /**
     *
     * @type {{lines:Uint8Array[], scaleX:number, scaleY:number}[]}
     */
    components: {
        lines: Uint8Array[];
        scaleX: number;
        scaleY: number;
    }[];
    /**
     *
     * @param {number} width
     * @param {number} height
     * @return {Uint8Array}
     */
    getData(width: number, height: number): Uint8Array;
    /**
     *
     * @param {{data:Uint8Array, width:number, height:number}} imageData
     * @param {boolean} [formatAsRGBA]
     */
    copyToImageData(imageData: {
        data: Uint8Array;
        width: number;
        height: number;
    }, formatAsRGBA?: boolean): void;
}
//# sourceMappingURL=JpegImage.d.ts.map