"""
PySide stub files generated by **IceSpringPySideStubs**

Home: https://baijifeilong.github.io/2022/01/06/ice-spring-pyside-stubs/index.html

Github: https://github.com/baijifeilong/IceSpringPySideStubs

PyPI(PySide2): https://pypi.org/project/IceSpringPySideStubs-PySide2

PyPI(PySide6): https://pypi.org/project/IceSpringPySideStubs-PySide6

Generated by BaiJiFeiLong@gmail.com

Licence: GPLv3
"""
from typing import Optional, Union
import PySide6.QtCore
import PySide6.QtNetwork
import PySide6.QtQml

bytes = str


def QmlAnonymous(arg__1: object) -> object:
    ...


def QmlElement(arg__1: object) -> object:
    ...


def QmlSingleton(arg__1: object) -> object:
    ...


def qjsEngine(arg__1: PySide6.QtCore.QObject) -> Optional[PySide6.QtQml.QJSEngine]:
    ...


def qmlClearTypeRegistrations() -> None:
    ...


def qmlContext(arg__1: PySide6.QtCore.QObject) -> Optional[PySide6.QtQml.QQmlContext]:
    ...


def qmlEngine(arg__1: PySide6.QtCore.QObject) -> Optional[PySide6.QtQml.QQmlEngine]:
    ...


def qmlProtectModule(uri: bytes, majVersion: int) -> bool:
    ...


def qmlRegisterModule(uri: bytes, versionMajor: int, versionMinor: int) -> None:
    ...


def qmlRegisterSingletonInstance(
    arg__1: type, arg__2: bytes, arg__3: int, arg__4: int, arg__5: bytes, arg__6: object
) -> int:
    ...


def qmlRegisterSingletonType(
    arg__1: type, arg__2: bytes, arg__3: int, arg__4: int, arg__5: bytes
) -> int:
    ...


def qmlRegisterSingletonType(
    arg__1: type, arg__2: bytes, arg__3: int, arg__4: int, arg__5: bytes, arg__6: object
) -> int:
    ...


def qmlRegisterSingletonType(
    arg__1: bytes, arg__2: int, arg__3: int, arg__4: bytes, arg__5: object
) -> int:
    ...


def qmlRegisterSingletonType(
    url: Union[PySide6.QtCore.QUrl, str],
    uri: bytes,
    versionMajor: int,
    versionMinor: int,
    qmlName: bytes,
) -> int:
    ...


def qmlRegisterType(
    arg__1: type, arg__2: bytes, arg__3: int, arg__4: int, arg__5: bytes
) -> int:
    ...


def qmlRegisterType(
    url: Union[PySide6.QtCore.QUrl, str],
    uri: bytes,
    versionMajor: int,
    versionMinor: int,
    qmlName: bytes,
) -> int:
    ...


def qmlRegisterUncreatableMetaObject(
    staticMetaObject: PySide6.QtCore.QMetaObject,
    uri: bytes,
    versionMajor: int,
    versionMinor: int,
    qmlName: bytes,
    reason: str,
) -> int:
    ...


def qmlRegisterUncreatableType(
    arg__1: type, arg__2: bytes, arg__3: int, arg__4: int, arg__5: bytes, arg__6: bytes
) -> int:
    ...


def qmlTypeId(uri: bytes, versionMajor: int, versionMinor: int, qmlName: bytes) -> int:
    ...
