import type { MatchingOptions, OccurrenceOptions, SimilarityOptions } from '@appium/opencv'; import type { ActionSequence, ExternalDriver, MethodMap } from '@appium/types'; import { BasePlugin } from 'appium/plugin'; import { ImageElementFinder } from './finder'; export declare class ImageElementPlugin extends BasePlugin { static newMethodMap: MethodMap; readonly finder: ImageElementFinder; constructor(pluginName: string); compareImages(next: () => Promise, driver: ExternalDriver, mode: string, firstImage: string | Buffer, secondImage: string | Buffer, options?: MatchingOptions | SimilarityOptions | OccurrenceOptions): Promise; findElement(next: () => Promise, driver: ExternalDriver, ...args: any[]): Promise; findElements(next: () => Promise, driver: ExternalDriver, ...args: any[]): Promise; handle(next: () => Promise, driver: ExternalDriver, cmdName: string, ...args: any[]): Promise; performActions(next: () => Promise, driver: ExternalDriver, actionSequences: ActionSequence[]): Promise; private _find; } /** * Returns the first image-element id found in command args. * @param args Command arguments. */ export declare function getImgElFromArgs(args: any[]): string | undefined; //# sourceMappingURL=plugin.d.ts.map