import { Element } from '@appium/types'; import { NovaWindowsDriver } from '../driver'; import { ClickType, Enum } from '../enums'; import { UploadOptions } from './screen-recorder'; declare const ContentType: Readonly<{ readonly PLAINTEXT: "plaintext"; readonly IMAGE: "image"; }>; type ContentType = Enum; type KeyAction = { pause?: number; text?: string; virtualKeyCode?: number; down?: boolean; }; export declare function execute(this: NovaWindowsDriver, script: string, args: any[]): Promise; type CacheRequest = { treeScope?: string; treeFilter?: string; automationElementMode?: string; }; export declare function pushCacheRequest(this: NovaWindowsDriver, cacheRequest: CacheRequest): Promise; export declare function patternInvoke(this: NovaWindowsDriver, element: Element): Promise; export declare function patternExpand(this: NovaWindowsDriver, element: Element): Promise; export declare function patternCollapse(this: NovaWindowsDriver, element: Element): Promise; export declare function patternScrollIntoView(this: NovaWindowsDriver, element: Element): Promise; export declare function patternIsMultiple(this: NovaWindowsDriver, element: Element): Promise; export declare function patternGetSelectedItem(this: NovaWindowsDriver, element: Element): Promise; export declare function patternGetAllSelectedItems(this: NovaWindowsDriver, element: Element): Promise; export declare function patternAddToSelection(this: NovaWindowsDriver, element: Element): Promise; export declare function patternRemoveFromSelection(this: NovaWindowsDriver, element: Element): Promise; export declare function patternSelect(this: NovaWindowsDriver, element: Element): Promise; export declare function patternToggle(this: NovaWindowsDriver, element: Element): Promise; export declare function patternSetValue(this: NovaWindowsDriver, element: Element, value: string): Promise; export declare function patternGetValue(this: NovaWindowsDriver, element: Element): Promise; export declare function patternMaximize(this: NovaWindowsDriver, element: Element): Promise; export declare function patternMinimize(this: NovaWindowsDriver, element: Element): Promise; export declare function patternRestore(this: NovaWindowsDriver, element: Element): Promise; export declare function patternClose(this: NovaWindowsDriver, element: Element): Promise; export declare function windowsCloseApp(this: NovaWindowsDriver): Promise; export declare function windowsLaunchApp(this: NovaWindowsDriver): Promise; export declare function focusElement(this: NovaWindowsDriver, element: Element): Promise; export declare function getClipboardBase64(this: NovaWindowsDriver, contentType?: ContentType | { contentType?: ContentType; }): Promise; export declare function setClipboardFromBase64(this: NovaWindowsDriver, args: { contentType?: ContentType; b64Content: string; }): Promise; export declare function executePowerShellScript(this: NovaWindowsDriver, script: string | { script: string; command: undefined; } | { script: undefined; command: string; }): Promise; export declare function executeKeys(this: NovaWindowsDriver, keyActions: { actions: KeyAction | KeyAction[]; forceUnicode: boolean; }): Promise; export declare function executeClick(this: NovaWindowsDriver, clickArgs: { elementId?: string; x?: number; y?: number; button?: ClickType; modifierKeys?: ('shift' | 'ctrl' | 'alt' | 'win') | ('shift' | 'ctrl' | 'alt' | 'win')[]; durationMs?: number; times?: number; interClickDelayMs?: number; }): Promise; export declare function executeHover(this: NovaWindowsDriver, hoverArgs: { startElementId?: string; startX?: number; startY?: number; endElementId?: string; endX?: number; endY?: number; modifierKeys?: ('shift' | 'ctrl' | 'alt' | 'win') | ('shift' | 'ctrl' | 'alt' | 'win')[]; durationMs?: number; }): Promise; export declare function executeScroll(this: NovaWindowsDriver, scrollArgs: { elementId?: string; x?: number; y?: number; deltaX?: number; deltaY?: number; modifierKeys?: ('shift' | 'ctrl' | 'alt' | 'win') | ('shift' | 'ctrl' | 'alt' | 'win')[]; }): Promise; export declare function startRecordingScreen(this: NovaWindowsDriver, args?: { outputPath?: string; timeLimit?: number; videoFps?: number; videoFilter?: string; preset?: string; captureCursor?: boolean; captureClicks?: boolean; audioInput?: string; forceRestart?: boolean; }): Promise; export declare function stopRecordingScreen(this: NovaWindowsDriver, args?: UploadOptions): Promise; export declare function deleteFile(this: NovaWindowsDriver, args: { path: string; }): Promise; export declare function deleteFolder(this: NovaWindowsDriver, args: { path: string; recursive?: boolean; }): Promise; export declare function executeClickAndDrag(this: NovaWindowsDriver, dragArgs: { startElementId?: string; startX?: number; startY?: number; endElementId?: string; endX?: number; endY?: number; modifierKeys?: ('shift' | 'ctrl' | 'alt' | 'win') | ('shift' | 'ctrl' | 'alt' | 'win')[]; durationMs?: number; button?: ClickType; }): Promise; export declare function windowsGetDeviceTime(this: NovaWindowsDriver, args?: { format?: string; }): Promise; export declare function getWindowElement(this: NovaWindowsDriver): Promise; export {}; //# sourceMappingURL=extension.d.ts.map