//#region src/compare/diff-image.d.ts type ComparePairInput = { expectedPath: string; actualPath: string; /** Where the diff PNG is written when the pair does not pass. */ diffPath: string; threshold: number; allowedMismatchedPixels: number | undefined; allowedMismatchedPixelRatio: number | undefined; }; type ComparePairResult = { passed: boolean; mismatchedPixels: number; mismatchRatio: number; dimensions?: { expected: [width: number, height: number]; actual: [width: number, height: number]; }; }; declare function comparePair(input: ComparePairInput): Promise; //#endregion export { ComparePairInput, ComparePairResult, comparePair };