You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
763 B

import type * as d from '@stencil/core/internal';
export declare function compareScreenshot(emulateConfig: d.EmulateConfig, screenshotBuildData: d.ScreenshotBuildData, currentScreenshotBuf: Buffer, screenshotTimeoutMs: number | null, desc: string, width: number, height: number, testPath: string, pixelmatchThreshold: number): Promise<{
id: string;
desc: string;
imageA: string;
imageB: string;
mismatchedPixels: number;
device: string;
userAgent: string;
width: number;
height: number;
deviceScaleFactor: number;
hasTouch: boolean;
isLandscape: boolean;
isMobile: boolean;
allowableMismatchedPixels: number;
allowableMismatchedRatio: number;
testPath: string;
cacheKey: string | undefined;
}>;