import WdioOcrService from './service.js'; import type { ClickOnTextOptions, GetElementPositionByTextOptions, GetTextOptions, OcrGetElementPositionByText, PageSegmentationMode, PageSegmentationModeOptions, SetValueOptions, WaitForTextDisplayedOptions } from './types.js'; declare global { namespace WebdriverIO { interface Browser { /** * Get the text of an image base on OCR */ ocrGetText(options?: GetTextOptions): Promise; /** * Get the text of an image base on OCR */ ocrGetElementPositionByText(options: GetElementPositionByTextOptions): Promise; /** * Click on an element based on text */ ocrClickOnText(options: ClickOnTextOptions): Promise; /** * Set value on an element based on text */ ocrSetValue(options: SetValueOptions): Promise; /** * Wait for the text to be displayed based on OCR */ ocrWaitForTextDisplayed(options: WaitForTextDisplayedOptions): Promise; } interface Element { } } } export default WdioOcrService; export declare const SUPPORTED_OCR_LANGUAGES: { AFRIKAANS: string; AMHARIC: string; ARABIC: string; ASSANESE: string; AZERBAIJANI: string; BELARUSIAN: string; BENGALI: string; TIBETAN: string; BOSNIAN: string; BULGARIAN: string; CATALAN: string; CZECH: string; CHINESE: string; CORSICAN: string; DANISH: string; GERMAN: string; GREEK: string; ENGLISH: string; MATH: string; ESTONIAN: string; FINNISH: string; FRENCH: string; GAELIC: string; IRISH: string; HINDI: string; CROATIAN: string; HUNGARIAN: string; ARMENIAN: string; ITALIAN: string; JAPANESE: string; KANNADA: string; KOREAN: string; LATIN: string; LATVIAN: string; LITHUANIAN: string; LUXEMBOURGISH: string; MACEDONIAN: string; DUTCH: string; NORWEGIAN: string; POLISH: string; PORTUGUESE: string; ROMANIAN: string; RUSSIAN: string; SLOVAK: string; SLOVENIAN: string; SPANISH: string; ALBANIAN: string; SERBIAN: string; SWAHILI: string; SWEDISH: string; THAI: string; TURKISH: string; UKRAINIAN: string; VIETNAMESE: string; }; export type { PageSegmentationMode, PageSegmentationModeOptions }; //# sourceMappingURL=index.d.ts.map