/// import { Image } from './image-utils'; import { ScreenshotLocations } from './file-utils'; import Diagnostics from './diagnostics'; import type { IComparerOptions, SelectorType } from './options'; export declare function tryGetValidScreenshot(t: TestController, element: SelectorType, options: IComparerOptions, locations: ScreenshotLocations, diag: Diagnostics): Promise<{ equal: boolean; screenshot: Image | null; patchedByMaskScreenshot: Image | null; textMask: Image | null; }>;