import { OcrGetElementPositionByText } from "../src/commands/ocrGetElementPositionByText"; import { ClickOnTextOptions, ElementPositionByText, GetTextOptions, OcrServiceConfig, SetValueOptions, WaitForTextDisplayedOptions, } from "../src/typings/types"; declare global { namespace WebdriverIO { interface Browser { ocrClickOnText( selector: string, options: ClickOnTextOptions = {} ): Promise; ocrGetElementPositionByText( selector: string, options: ElementPositionByText = {} ): Promise; ocrGetText( options?: GetTextOptions = {} ): Promise; ocrSetValue( selector: string, value: string, options: SetValueOptions = {} ): Promise; ocrWaitForTextDisplayed( selector: string, options: WaitForTextDisplayedOptions = {} ): Promise; } interface ServiceOption extends OcrServiceConfig {} } }