export type VisualThreshold = { maxDiffPixels?: number | undefined; maxDiffPixelRatio?: number | undefined; }; export type ThresholdEvaluationInput = { diffPixels: number; totalPixels: number; threshold?: VisualThreshold; }; export type ThresholdEvaluation = { passed: boolean; diffRatio: number; reason?: 'maxDiffPixels' | 'maxDiffPixelRatio'; }; export declare function evaluateVisualThreshold(input: ThresholdEvaluationInput): ThresholdEvaluation;