/// <reference types="emscripten" />
export interface Wasm extends EmscriptenModule {
    _getModelBufferMemoryOffset(): number;
    _getInputImageBuffer1Offset(): number;
    _getInputImageBuffer2Offset(): number;
    _getMSSIMOutputBufferOffset(): number;
    _psnr(width: number, height: number): number;
    _ssim(width: number, height: number): number;
}
export interface ImageScoreParams {
    useSimd: boolean;
}
export declare class ImageScoreBase {
    mod: any;
    modSIMD: any;
    wasm?: Wasm;
    wasmSimd?: Wasm;
    image1?: HTMLCanvasElement;
    image2?: HTMLCanvasElement;
    setImage: (image1: HTMLCanvasElement, image2: HTMLCanvasElement, params: ImageScoreParams) => void;
    psnr: (params: ImageScoreParams) => number;
    mssim: (params: ImageScoreParams) => {
        mssimR: number;
        mssimG: number;
        mssimB: number;
        mssimA: number;
    };
}
