export { snapshotAppWindows, resolveAppWindow, activeAppWindow, defaultAppWindow, appWindowRect, appWindowScreenshot, scopedFindRoot, closeAppWindow, unsupportedWindowSelectorMessage, rewriteXPathForScopedFind, }; export type AppWindowTarget = { kind: "switched"; } | { kind: "element"; element: any; title: string; }; type ResolveResult = { ok: true; target: AppWindowTarget; } | { ok: false; message: string; }; type CloseResult = { ok: true; closed: boolean; } | { ok: false; message: string; }; declare function unsupportedWindowSelectorMessage(platform: string): string; declare function rewriteXPathForScopedFind(selector: string): string; declare function snapshotAppWindows(entry: any): Promise; declare function resolveAppWindow({ entry, selector, timeoutMs, }: { entry: any; selector: any; timeoutMs?: number; }): Promise; declare function activeAppWindow(entry: any): Promise; declare function defaultAppWindow(entry: any): Promise; declare function appWindowRect(entry: any, target?: AppWindowTarget | null): Promise<{ x: number; y: number; w: number; h: number; } | null>; declare function appWindowScreenshot(entry: any, target: AppWindowTarget | null | undefined, filePath: string): Promise; declare function scopedFindRoot(entry: any, target: AppWindowTarget | null): any; declare function closeAppWindow({ entry, selector, }: { entry: any; selector: any; }): Promise; //# sourceMappingURL=appWindows.d.ts.map