///
export interface Options {
screenshotsPath: string;
tolerance: number;
debug: boolean;
isEnabled: boolean;
onFailure: (...args) => any;
onSuccess: (...args) => any;
onComplete: (...args) => any;
onNewImage: (...args) => any;
imageComparisonFn: (ImageComparisonOptions) => Promise;
}
export declare type Type = 'actual' | 'standard' | 'diff';
export interface Result {
hasPassed: boolean;
differences: number;
name: string;
}
export interface ImageComparisonOptions {
fileName: string;
tolerance: number;
standardPath: string;
diffPath: string;
actualPath: string;
}