# This file was generated by Nuitka

# Stubs included by default
from __future__ import annotations
from PIL import ImageGrab
from screenshot import save_window_to_file
from typing import Any
from typing_extensions import Self
import cv2
import numpy
import pyautogui
import time
import win32api
import win32con
import win32gui

class Image:
    def __init__(self: Self) -> None: ...
    def _load_image(self: Self, image_selector: Any) -> Any: ...
    def _get_screen_image(self: Self) -> Any: ...
    def _get_window_image(self: Self, hwnd: Any) -> Any: ...
    def _match_images(self: Self, haystack: Any, needle: Any, threshold: Any) -> Any: ...
    def _find_image(self: Self, image_selectors: Any, haystack_img: Any, wait_all: Any) -> Any: ...
    def _calculate_anchor_point(self: Self, match_result: Any, anchor: Any) -> Any: ...
    def wait_appear(self: Self, image_selectors: Any, wait_all: Any, timeout: Any) -> Any: ...
    def wait_appear_from_window(self: Self, hWnd: Any, image_selectors: Any, wait_all: Any, timeout: Any) -> Any: ...
    def wait_disappear(self: Self, image_selectors: Any, wait_all: Any, timeout: Any) -> Any: ...
    def wait_disappear_from_window(self: Self, hWnd: Any, image_selectors: Any, wait_all: Any, timeout: Any) -> Any: ...
    def hover(self: Self, image_selectors: Any, anchor: Any) -> Any: ...
    def hover_on_window(self: Self, hWnd: Any, image_selectors: Any, anchor: Any) -> Any: ...
    def _press_key(self: Self, key_name: Any) -> Any: ...
    def _release_key(self: Self, key_name: Any) -> Any: ...
    def click(self: Self, image_selectors: Any, anchor: Any, button: Any, keys: Any, move_mouse: Any) -> Any: ...
    def click_on_window(self: Self, hWnd: Any, image_selectors: Any, anchor: Any, button: Any, keys: Any, move_mouse: Any) -> Any: ...
    def dblclick(self: Self, image_selectors: Any, anchor: Any, move_mouse: Any) -> Any: ...
    def dblclick_on_window(self: Self, hWnd: Any, image_selectors: Any, anchor: Any, move_mouse: Any) -> Any: ...
    def add_to_library(self: Self, image_name: Any, image_path: Any) -> Any: ...
    def set_match_threshold(self: Self, threshold: Any) -> Any: ...


__name__ = ...



# Modules used internally, to allow implicit dependencies to be seen:
import time
import cv2
import numpy
import pyautogui
import win32api
import win32con
import win32gui
import PIL
import PIL.ImageGrab