///
import type { IComparerOptions, SelectorType } from './options';
export declare function compareScreenshot(t: TestController, screenshotName: string, element?: SelectorType, comparisonOptions?: Partial): Promise;
export interface ScreenshotsComparer {
takeScreenshot: (screenshotName: string, element?: SelectorType, comparisonOptions?: Partial | undefined) => Promise;
compareResults: {
isValid: () => boolean;
errorMessages: () => string;
};
}
export declare function createScreenshotsComparer(t: TestController): ScreenshotsComparer;