export type ImageComparatorOptions = { maxDiffPixelRatio?: number; maxDiffPixels?: number; threshold?: number; }; export type ComparatorResult = { diff: Buffer; error?: string; similarity: number; /** * Whether the images are different sizes. */ sizeMismatch: boolean; }; /** * It's based on the playwright implementation and will * generate the same diff image as we would get from the playwright. */ export declare function getImageDifferences(actualBuffer: Buffer, expectedBuffer: Buffer, options?: ImageComparatorOptions): ComparatorResult; //# sourceMappingURL=getImageDifferences.d.ts.map