# The PEP 484 type hints stub file for the QtLocation module.
#
# Generated by SIP 6.16.1
#
# Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
# 
# This file is part of PyQt5.
# 
# This file may be used under the terms of the GNU General Public License
# version 3.0 as published by the Free Software Foundation and appearing in
# the file LICENSE included in the packaging of this file.  Please review the
# following information to ensure the GNU General Public License version 3.0
# requirements will be met: http://www.gnu.org/copyleft/gpl.html.
# 
# If you do not wish to use this file under the terms of the GPL version 3.0
# then you may purchase a commercial license.  For more information contact
# info@riverbankcomputing.com.
# 
# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.


import collections.abc, re, typing

try:
    from warnings import deprecated
except ImportError:
    pass

import PyQt5.sip

from PyQt5 import QtCore
from PyQt5 import QtPositioning

# Support for QDate, QDateTime and QTime.
import datetime

# Convenient type aliases.
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
PYQT_SLOT = typing.Union[collections.abc.Callable[..., Any], QtCore.pyqtBoundSignal]


class QGeoCodeReply(QtCore.QObject):

    class Error(int):
        NoError = ... # type: QGeoCodeReply.Error
        EngineNotSetError = ... # type: QGeoCodeReply.Error
        CommunicationError = ... # type: QGeoCodeReply.Error
        ParseError = ... # type: QGeoCodeReply.Error
        UnsupportedOptionError = ... # type: QGeoCodeReply.Error
        CombinationError = ... # type: QGeoCodeReply.Error
        UnknownError = ... # type: QGeoCodeReply.Error

    @typing.overload
    def __init__(self, error: 'QGeoCodeReply.Error', errorString: str|None, parent: QtCore.QObject|None = ...) -> None: ...
    @typing.overload
    def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...

    def setOffset(self, offset: int) -> None: ...
    def setLimit(self, limit: int) -> None: ...
    def setLocations(self, locations: collections.abc.Iterable[QtPositioning.QGeoLocation]) -> None: ...
    def addLocation(self, location: QtPositioning.QGeoLocation) -> None: ...
    def setViewport(self, viewport: QtPositioning.QGeoShape) -> None: ...
    def setFinished(self, finished: bool) -> None: ...
    def setError(self, error: 'QGeoCodeReply.Error', errorString: str|None) -> None: ...
    finished: typing.ClassVar[QtCore.pyqtSignal]
    aborted: typing.ClassVar[QtCore.pyqtSignal]
    def abort(self) -> None: ...
    def offset(self) -> int: ...
    def limit(self) -> int: ...
    def locations(self) -> list[QtPositioning.QGeoLocation]: ...
    def viewport(self) -> QtPositioning.QGeoShape: ...
    def errorString(self) -> str: ...
    error: typing.ClassVar[QtCore.pyqtSignal]
    def isFinished(self) -> bool: ...


class QGeoCodingManager(QtCore.QObject):

    error: typing.ClassVar[QtCore.pyqtSignal]
    finished: typing.ClassVar[QtCore.pyqtSignal]
    def locale(self) -> QtCore.QLocale: ...
    def setLocale(self, locale: QtCore.QLocale) -> None: ...
    def reverseGeocode(self, coordinate: QtPositioning.QGeoCoordinate, bounds: QtPositioning.QGeoShape = ...) -> QGeoCodeReply|None: ...
    @typing.overload
    def geocode(self, address: QtPositioning.QGeoAddress, bounds: QtPositioning.QGeoShape = ...) -> QGeoCodeReply|None: ...
    @typing.overload
    def geocode(self, searchString: str|None, limit: int = ..., offset: int = ..., bounds: QtPositioning.QGeoShape = ...) -> QGeoCodeReply|None: ...
    def managerVersion(self) -> int: ...
    def managerName(self) -> str: ...


class QGeoCodingManagerEngine(QtCore.QObject):

    def __init__(self, parameters: dict[str, typing.Any], parent: QtCore.QObject|None = ...) -> None: ...

    error: typing.ClassVar[QtCore.pyqtSignal]
    finished: typing.ClassVar[QtCore.pyqtSignal]
    def locale(self) -> QtCore.QLocale: ...
    def setLocale(self, locale: QtCore.QLocale) -> None: ...
    def reverseGeocode(self, coordinate: QtPositioning.QGeoCoordinate, bounds: QtPositioning.QGeoShape) -> QGeoCodeReply|None: ...
    @typing.overload
    def geocode(self, address: QtPositioning.QGeoAddress, bounds: QtPositioning.QGeoShape) -> QGeoCodeReply|None: ...
    @typing.overload
    def geocode(self, address: str|None, limit: int, offset: int, bounds: QtPositioning.QGeoShape) -> QGeoCodeReply|None: ...
    def managerVersion(self) -> int: ...
    def managerName(self) -> str: ...


class QGeoManeuver(PyQt5.sipsimplewrapper):

    class InstructionDirection(int):
        NoDirection = ... # type: QGeoManeuver.InstructionDirection
        DirectionForward = ... # type: QGeoManeuver.InstructionDirection
        DirectionBearRight = ... # type: QGeoManeuver.InstructionDirection
        DirectionLightRight = ... # type: QGeoManeuver.InstructionDirection
        DirectionRight = ... # type: QGeoManeuver.InstructionDirection
        DirectionHardRight = ... # type: QGeoManeuver.InstructionDirection
        DirectionUTurnRight = ... # type: QGeoManeuver.InstructionDirection
        DirectionUTurnLeft = ... # type: QGeoManeuver.InstructionDirection
        DirectionHardLeft = ... # type: QGeoManeuver.InstructionDirection
        DirectionLeft = ... # type: QGeoManeuver.InstructionDirection
        DirectionLightLeft = ... # type: QGeoManeuver.InstructionDirection
        DirectionBearLeft = ... # type: QGeoManeuver.InstructionDirection

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QGeoManeuver') -> None: ...

    def extendedAttributes(self) -> dict[str, typing.Any]: ...
    def setExtendedAttributes(self, extendedAttributes: dict[str, typing.Any]) -> None: ...
    def waypoint(self) -> QtPositioning.QGeoCoordinate: ...
    def setWaypoint(self, coordinate: QtPositioning.QGeoCoordinate) -> None: ...
    def distanceToNextInstruction(self) -> float: ...
    def setDistanceToNextInstruction(self, distance: float) -> None: ...
    def timeToNextInstruction(self) -> int: ...
    def setTimeToNextInstruction(self, secs: int) -> None: ...
    def direction(self) -> 'QGeoManeuver.InstructionDirection': ...
    def setDirection(self, direction: 'QGeoManeuver.InstructionDirection') -> None: ...
    def instructionText(self) -> str: ...
    def setInstructionText(self, instructionText: str|None) -> None: ...
    def position(self) -> QtPositioning.QGeoCoordinate: ...
    def setPosition(self, position: QtPositioning.QGeoCoordinate) -> None: ...
    def isValid(self) -> bool: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QGeoRoute(PyQt5.sipsimplewrapper):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QGeoRoute') -> None: ...

    def extendedAttributes(self) -> dict[str, typing.Any]: ...
    def setExtendedAttributes(self, extendedAttributes: dict[str, typing.Any]) -> None: ...
    def routeLegs(self) -> list['QGeoRouteLeg']: ...
    def setRouteLegs(self, legs: collections.abc.Iterable['QGeoRouteLeg']) -> None: ...
    def path(self) -> list[QtPositioning.QGeoCoordinate]: ...
    def setPath(self, path: collections.abc.Iterable[QtPositioning.QGeoCoordinate]) -> None: ...
    def travelMode(self) -> 'QGeoRouteRequest.TravelMode': ...
    def setTravelMode(self, mode: 'QGeoRouteRequest.TravelMode') -> None: ...
    def distance(self) -> float: ...
    def setDistance(self, distance: float) -> None: ...
    def travelTime(self) -> int: ...
    def setTravelTime(self, secs: int) -> None: ...
    def firstRouteSegment(self) -> 'QGeoRouteSegment': ...
    def setFirstRouteSegment(self, routeSegment: 'QGeoRouteSegment') -> None: ...
    def bounds(self) -> QtPositioning.QGeoRectangle: ...
    def setBounds(self, bounds: QtPositioning.QGeoRectangle) -> None: ...
    def request(self) -> 'QGeoRouteRequest': ...
    def setRequest(self, request: 'QGeoRouteRequest') -> None: ...
    def routeId(self) -> str: ...
    def setRouteId(self, id: str|None) -> None: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QGeoRouteLeg(QGeoRoute):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QGeoRouteLeg') -> None: ...

    def overallRoute(self) -> QGeoRoute: ...
    def setOverallRoute(self, route: QGeoRoute) -> None: ...
    def legIndex(self) -> int: ...
    def setLegIndex(self, idx: int) -> None: ...


class QGeoRouteReply(QtCore.QObject):

    class Error(int):
        NoError = ... # type: QGeoRouteReply.Error
        EngineNotSetError = ... # type: QGeoRouteReply.Error
        CommunicationError = ... # type: QGeoRouteReply.Error
        ParseError = ... # type: QGeoRouteReply.Error
        UnsupportedOptionError = ... # type: QGeoRouteReply.Error
        UnknownError = ... # type: QGeoRouteReply.Error

    @typing.overload
    def __init__(self, error: 'QGeoRouteReply.Error', errorString: str|None, parent: QtCore.QObject|None = ...) -> None: ...
    @typing.overload
    def __init__(self, request: 'QGeoRouteRequest', parent: QtCore.QObject|None = ...) -> None: ...

    def addRoutes(self, routes: collections.abc.Iterable[QGeoRoute]) -> None: ...
    def setRoutes(self, routes: collections.abc.Iterable[QGeoRoute]) -> None: ...
    def setFinished(self, finished: bool) -> None: ...
    def setError(self, error: 'QGeoRouteReply.Error', errorString: str|None) -> None: ...
    finished: typing.ClassVar[QtCore.pyqtSignal]
    aborted: typing.ClassVar[QtCore.pyqtSignal]
    def abort(self) -> None: ...
    def routes(self) -> list[QGeoRoute]: ...
    def request(self) -> 'QGeoRouteRequest': ...
    def errorString(self) -> str: ...
    error: typing.ClassVar[QtCore.pyqtSignal]
    def isFinished(self) -> bool: ...


class QGeoRouteRequest(PyQt5.sipsimplewrapper):

    class ManeuverDetail(int):
        NoManeuvers = ... # type: QGeoRouteRequest.ManeuverDetail
        BasicManeuvers = ... # type: QGeoRouteRequest.ManeuverDetail

    class SegmentDetail(int):
        NoSegmentData = ... # type: QGeoRouteRequest.SegmentDetail
        BasicSegmentData = ... # type: QGeoRouteRequest.SegmentDetail

    class RouteOptimization(int):
        ShortestRoute = ... # type: QGeoRouteRequest.RouteOptimization
        FastestRoute = ... # type: QGeoRouteRequest.RouteOptimization
        MostEconomicRoute = ... # type: QGeoRouteRequest.RouteOptimization
        MostScenicRoute = ... # type: QGeoRouteRequest.RouteOptimization

    class FeatureWeight(int):
        NeutralFeatureWeight = ... # type: QGeoRouteRequest.FeatureWeight
        PreferFeatureWeight = ... # type: QGeoRouteRequest.FeatureWeight
        RequireFeatureWeight = ... # type: QGeoRouteRequest.FeatureWeight
        AvoidFeatureWeight = ... # type: QGeoRouteRequest.FeatureWeight
        DisallowFeatureWeight = ... # type: QGeoRouteRequest.FeatureWeight

    class FeatureType(int):
        NoFeature = ... # type: QGeoRouteRequest.FeatureType
        TollFeature = ... # type: QGeoRouteRequest.FeatureType
        HighwayFeature = ... # type: QGeoRouteRequest.FeatureType
        PublicTransitFeature = ... # type: QGeoRouteRequest.FeatureType
        FerryFeature = ... # type: QGeoRouteRequest.FeatureType
        TunnelFeature = ... # type: QGeoRouteRequest.FeatureType
        DirtRoadFeature = ... # type: QGeoRouteRequest.FeatureType
        ParksFeature = ... # type: QGeoRouteRequest.FeatureType
        MotorPoolLaneFeature = ... # type: QGeoRouteRequest.FeatureType
        TrafficFeature = ... # type: QGeoRouteRequest.FeatureType

    class TravelMode(int):
        CarTravel = ... # type: QGeoRouteRequest.TravelMode
        PedestrianTravel = ... # type: QGeoRouteRequest.TravelMode
        BicycleTravel = ... # type: QGeoRouteRequest.TravelMode
        PublicTransitTravel = ... # type: QGeoRouteRequest.TravelMode
        TruckTravel = ... # type: QGeoRouteRequest.TravelMode

    class TravelModes(PyQt5.sipsimplewrapper):

        @typing.overload
        def __init__(self) -> None: ...
        @typing.overload
        def __init__(self, f: 'QGeoRouteRequest.TravelModes'|'QGeoRouteRequest.TravelMode') -> None: ...

        def __hash__(self) -> int: ...
        def __bool__(self) -> int: ...
        def __ne__(self, other: object): ...
        def __eq__(self, other: object): ...
        def __ixor__(self, f: 'QGeoRouteRequest.TravelModes'|'QGeoRouteRequest.TravelMode') -> 'QGeoRouteRequest.TravelModes': ...
        def __xor__(self, f: 'QGeoRouteRequest.TravelModes'|'QGeoRouteRequest.TravelMode') -> 'QGeoRouteRequest.TravelModes': ...
        def __ior__(self, f: 'QGeoRouteRequest.TravelModes'|'QGeoRouteRequest.TravelMode') -> 'QGeoRouteRequest.TravelModes': ...
        def __or__(self, f: 'QGeoRouteRequest.TravelModes'|'QGeoRouteRequest.TravelMode') -> 'QGeoRouteRequest.TravelModes': ...
        def __iand__(self, f: 'QGeoRouteRequest.TravelModes'|'QGeoRouteRequest.TravelMode') -> 'QGeoRouteRequest.TravelModes': ...
        def __and__(self, f: 'QGeoRouteRequest.TravelModes'|'QGeoRouteRequest.TravelMode') -> 'QGeoRouteRequest.TravelModes': ...
        def __invert__(self) -> 'QGeoRouteRequest.TravelModes': ...
        def __index__(self) -> int: ...
        def __int__(self) -> int: ...

    class FeatureTypes(PyQt5.sipsimplewrapper):

        @typing.overload
        def __init__(self) -> None: ...
        @typing.overload
        def __init__(self, f: 'QGeoRouteRequest.FeatureTypes'|'QGeoRouteRequest.FeatureType') -> None: ...

        def __hash__(self) -> int: ...
        def __bool__(self) -> int: ...
        def __ne__(self, other: object): ...
        def __eq__(self, other: object): ...
        def __ixor__(self, f: 'QGeoRouteRequest.FeatureTypes'|'QGeoRouteRequest.FeatureType') -> 'QGeoRouteRequest.FeatureTypes': ...
        def __xor__(self, f: 'QGeoRouteRequest.FeatureTypes'|'QGeoRouteRequest.FeatureType') -> 'QGeoRouteRequest.FeatureTypes': ...
        def __ior__(self, f: 'QGeoRouteRequest.FeatureTypes'|'QGeoRouteRequest.FeatureType') -> 'QGeoRouteRequest.FeatureTypes': ...
        def __or__(self, f: 'QGeoRouteRequest.FeatureTypes'|'QGeoRouteRequest.FeatureType') -> 'QGeoRouteRequest.FeatureTypes': ...
        def __iand__(self, f: 'QGeoRouteRequest.FeatureTypes'|'QGeoRouteRequest.FeatureType') -> 'QGeoRouteRequest.FeatureTypes': ...
        def __and__(self, f: 'QGeoRouteRequest.FeatureTypes'|'QGeoRouteRequest.FeatureType') -> 'QGeoRouteRequest.FeatureTypes': ...
        def __invert__(self) -> 'QGeoRouteRequest.FeatureTypes': ...
        def __index__(self) -> int: ...
        def __int__(self) -> int: ...

    class FeatureWeights(PyQt5.sipsimplewrapper):

        @typing.overload
        def __init__(self) -> None: ...
        @typing.overload
        def __init__(self, f: 'QGeoRouteRequest.FeatureWeights'|'QGeoRouteRequest.FeatureWeight') -> None: ...

        def __hash__(self) -> int: ...
        def __bool__(self) -> int: ...
        def __ne__(self, other: object): ...
        def __eq__(self, other: object): ...
        def __ixor__(self, f: 'QGeoRouteRequest.FeatureWeights'|'QGeoRouteRequest.FeatureWeight') -> 'QGeoRouteRequest.FeatureWeights': ...
        def __xor__(self, f: 'QGeoRouteRequest.FeatureWeights'|'QGeoRouteRequest.FeatureWeight') -> 'QGeoRouteRequest.FeatureWeights': ...
        def __ior__(self, f: 'QGeoRouteRequest.FeatureWeights'|'QGeoRouteRequest.FeatureWeight') -> 'QGeoRouteRequest.FeatureWeights': ...
        def __or__(self, f: 'QGeoRouteRequest.FeatureWeights'|'QGeoRouteRequest.FeatureWeight') -> 'QGeoRouteRequest.FeatureWeights': ...
        def __iand__(self, f: 'QGeoRouteRequest.FeatureWeights'|'QGeoRouteRequest.FeatureWeight') -> 'QGeoRouteRequest.FeatureWeights': ...
        def __and__(self, f: 'QGeoRouteRequest.FeatureWeights'|'QGeoRouteRequest.FeatureWeight') -> 'QGeoRouteRequest.FeatureWeights': ...
        def __invert__(self) -> 'QGeoRouteRequest.FeatureWeights': ...
        def __index__(self) -> int: ...
        def __int__(self) -> int: ...

    class RouteOptimizations(PyQt5.sipsimplewrapper):

        @typing.overload
        def __init__(self) -> None: ...
        @typing.overload
        def __init__(self, f: 'QGeoRouteRequest.RouteOptimizations'|'QGeoRouteRequest.RouteOptimization') -> None: ...

        def __hash__(self) -> int: ...
        def __bool__(self) -> int: ...
        def __ne__(self, other: object): ...
        def __eq__(self, other: object): ...
        def __ixor__(self, f: 'QGeoRouteRequest.RouteOptimizations'|'QGeoRouteRequest.RouteOptimization') -> 'QGeoRouteRequest.RouteOptimizations': ...
        def __xor__(self, f: 'QGeoRouteRequest.RouteOptimizations'|'QGeoRouteRequest.RouteOptimization') -> 'QGeoRouteRequest.RouteOptimizations': ...
        def __ior__(self, f: 'QGeoRouteRequest.RouteOptimizations'|'QGeoRouteRequest.RouteOptimization') -> 'QGeoRouteRequest.RouteOptimizations': ...
        def __or__(self, f: 'QGeoRouteRequest.RouteOptimizations'|'QGeoRouteRequest.RouteOptimization') -> 'QGeoRouteRequest.RouteOptimizations': ...
        def __iand__(self, f: 'QGeoRouteRequest.RouteOptimizations'|'QGeoRouteRequest.RouteOptimization') -> 'QGeoRouteRequest.RouteOptimizations': ...
        def __and__(self, f: 'QGeoRouteRequest.RouteOptimizations'|'QGeoRouteRequest.RouteOptimization') -> 'QGeoRouteRequest.RouteOptimizations': ...
        def __invert__(self) -> 'QGeoRouteRequest.RouteOptimizations': ...
        def __index__(self) -> int: ...
        def __int__(self) -> int: ...

    class SegmentDetails(PyQt5.sipsimplewrapper):

        @typing.overload
        def __init__(self) -> None: ...
        @typing.overload
        def __init__(self, f: 'QGeoRouteRequest.SegmentDetails'|'QGeoRouteRequest.SegmentDetail') -> None: ...

        def __hash__(self) -> int: ...
        def __bool__(self) -> int: ...
        def __ne__(self, other: object): ...
        def __eq__(self, other: object): ...
        def __ixor__(self, f: 'QGeoRouteRequest.SegmentDetails'|'QGeoRouteRequest.SegmentDetail') -> 'QGeoRouteRequest.SegmentDetails': ...
        def __xor__(self, f: 'QGeoRouteRequest.SegmentDetails'|'QGeoRouteRequest.SegmentDetail') -> 'QGeoRouteRequest.SegmentDetails': ...
        def __ior__(self, f: 'QGeoRouteRequest.SegmentDetails'|'QGeoRouteRequest.SegmentDetail') -> 'QGeoRouteRequest.SegmentDetails': ...
        def __or__(self, f: 'QGeoRouteRequest.SegmentDetails'|'QGeoRouteRequest.SegmentDetail') -> 'QGeoRouteRequest.SegmentDetails': ...
        def __iand__(self, f: 'QGeoRouteRequest.SegmentDetails'|'QGeoRouteRequest.SegmentDetail') -> 'QGeoRouteRequest.SegmentDetails': ...
        def __and__(self, f: 'QGeoRouteRequest.SegmentDetails'|'QGeoRouteRequest.SegmentDetail') -> 'QGeoRouteRequest.SegmentDetails': ...
        def __invert__(self) -> 'QGeoRouteRequest.SegmentDetails': ...
        def __index__(self) -> int: ...
        def __int__(self) -> int: ...

    class ManeuverDetails(PyQt5.sipsimplewrapper):

        @typing.overload
        def __init__(self) -> None: ...
        @typing.overload
        def __init__(self, f: 'QGeoRouteRequest.ManeuverDetails'|'QGeoRouteRequest.ManeuverDetail') -> None: ...

        def __hash__(self) -> int: ...
        def __bool__(self) -> int: ...
        def __ne__(self, other: object): ...
        def __eq__(self, other: object): ...
        def __ixor__(self, f: 'QGeoRouteRequest.ManeuverDetails'|'QGeoRouteRequest.ManeuverDetail') -> 'QGeoRouteRequest.ManeuverDetails': ...
        def __xor__(self, f: 'QGeoRouteRequest.ManeuverDetails'|'QGeoRouteRequest.ManeuverDetail') -> 'QGeoRouteRequest.ManeuverDetails': ...
        def __ior__(self, f: 'QGeoRouteRequest.ManeuverDetails'|'QGeoRouteRequest.ManeuverDetail') -> 'QGeoRouteRequest.ManeuverDetails': ...
        def __or__(self, f: 'QGeoRouteRequest.ManeuverDetails'|'QGeoRouteRequest.ManeuverDetail') -> 'QGeoRouteRequest.ManeuverDetails': ...
        def __iand__(self, f: 'QGeoRouteRequest.ManeuverDetails'|'QGeoRouteRequest.ManeuverDetail') -> 'QGeoRouteRequest.ManeuverDetails': ...
        def __and__(self, f: 'QGeoRouteRequest.ManeuverDetails'|'QGeoRouteRequest.ManeuverDetail') -> 'QGeoRouteRequest.ManeuverDetails': ...
        def __invert__(self) -> 'QGeoRouteRequest.ManeuverDetails': ...
        def __index__(self) -> int: ...
        def __int__(self) -> int: ...

    @typing.overload
    def __init__(self, waypoints: collections.abc.Iterable[QtPositioning.QGeoCoordinate] = ...) -> None: ...
    @typing.overload
    def __init__(self, origin: QtPositioning.QGeoCoordinate, destination: QtPositioning.QGeoCoordinate) -> None: ...
    @typing.overload
    def __init__(self, other: 'QGeoRouteRequest') -> None: ...

    def departureTime(self) -> QtCore.QDateTime: ...
    def setDepartureTime(self, departureTime: QtCore.QDateTime|datetime.datetime) -> None: ...
    def extraParameters(self) -> dict[str, typing.Any]: ...
    def setExtraParameters(self, extraParameters: dict[str, typing.Any]) -> None: ...
    def waypointsMetadata(self) -> list[dict[str, typing.Any]]: ...
    def setWaypointsMetadata(self, waypointMetadata: collections.abc.Iterable[dict[str, typing.Any]]) -> None: ...
    def maneuverDetail(self) -> 'QGeoRouteRequest.ManeuverDetail': ...
    def setManeuverDetail(self, maneuverDetail: 'QGeoRouteRequest.ManeuverDetail') -> None: ...
    def segmentDetail(self) -> 'QGeoRouteRequest.SegmentDetail': ...
    def setSegmentDetail(self, segmentDetail: 'QGeoRouteRequest.SegmentDetail') -> None: ...
    def routeOptimization(self) -> 'QGeoRouteRequest.RouteOptimizations': ...
    def setRouteOptimization(self, optimization: 'QGeoRouteRequest.RouteOptimizations'|'QGeoRouteRequest.RouteOptimization') -> None: ...
    def featureTypes(self) -> list['QGeoRouteRequest.FeatureType']: ...
    def featureWeight(self, featureType: 'QGeoRouteRequest.FeatureType') -> 'QGeoRouteRequest.FeatureWeight': ...
    def setFeatureWeight(self, featureType: 'QGeoRouteRequest.FeatureType', featureWeight: 'QGeoRouteRequest.FeatureWeight') -> None: ...
    def travelModes(self) -> 'QGeoRouteRequest.TravelModes': ...
    def setTravelModes(self, travelModes: 'QGeoRouteRequest.TravelModes'|'QGeoRouteRequest.TravelMode') -> None: ...
    def numberAlternativeRoutes(self) -> int: ...
    def setNumberAlternativeRoutes(self, alternatives: int) -> None: ...
    def excludeAreas(self) -> list[QtPositioning.QGeoRectangle]: ...
    def setExcludeAreas(self, areas: collections.abc.Iterable[QtPositioning.QGeoRectangle]) -> None: ...
    def waypoints(self) -> list[QtPositioning.QGeoCoordinate]: ...
    def setWaypoints(self, waypoints: collections.abc.Iterable[QtPositioning.QGeoCoordinate]) -> None: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QGeoRouteSegment(PyQt5.sipsimplewrapper):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QGeoRouteSegment') -> None: ...

    def isLegLastSegment(self) -> bool: ...
    def maneuver(self) -> QGeoManeuver: ...
    def setManeuver(self, maneuver: QGeoManeuver) -> None: ...
    def path(self) -> list[QtPositioning.QGeoCoordinate]: ...
    def setPath(self, path: collections.abc.Iterable[QtPositioning.QGeoCoordinate]) -> None: ...
    def distance(self) -> float: ...
    def setDistance(self, distance: float) -> None: ...
    def travelTime(self) -> int: ...
    def setTravelTime(self, secs: int) -> None: ...
    def nextRouteSegment(self) -> 'QGeoRouteSegment': ...
    def setNextRouteSegment(self, routeSegment: 'QGeoRouteSegment') -> None: ...
    def isValid(self) -> bool: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QGeoRoutingManager(QtCore.QObject):

    error: typing.ClassVar[QtCore.pyqtSignal]
    finished: typing.ClassVar[QtCore.pyqtSignal]
    def measurementSystem(self) -> QtCore.QLocale.MeasurementSystem: ...
    def setMeasurementSystem(self, system: QtCore.QLocale.MeasurementSystem) -> None: ...
    def locale(self) -> QtCore.QLocale: ...
    def setLocale(self, locale: QtCore.QLocale) -> None: ...
    def supportedManeuverDetails(self) -> QGeoRouteRequest.ManeuverDetails: ...
    def supportedSegmentDetails(self) -> QGeoRouteRequest.SegmentDetails: ...
    def supportedRouteOptimizations(self) -> QGeoRouteRequest.RouteOptimizations: ...
    def supportedFeatureWeights(self) -> QGeoRouteRequest.FeatureWeights: ...
    def supportedFeatureTypes(self) -> QGeoRouteRequest.FeatureTypes: ...
    def supportedTravelModes(self) -> QGeoRouteRequest.TravelModes: ...
    def updateRoute(self, route: QGeoRoute, position: QtPositioning.QGeoCoordinate) -> QGeoRouteReply|None: ...
    def calculateRoute(self, request: QGeoRouteRequest) -> QGeoRouteReply|None: ...
    def managerVersion(self) -> int: ...
    def managerName(self) -> str: ...


class QGeoRoutingManagerEngine(QtCore.QObject):

    def __init__(self, parameters: dict[str, typing.Any], parent: QtCore.QObject|None = ...) -> None: ...

    def setSupportedManeuverDetails(self, maneuverDetails: QGeoRouteRequest.ManeuverDetails|QGeoRouteRequest.ManeuverDetail) -> None: ...
    def setSupportedSegmentDetails(self, segmentDetails: QGeoRouteRequest.SegmentDetails|QGeoRouteRequest.SegmentDetail) -> None: ...
    def setSupportedRouteOptimizations(self, optimizations: QGeoRouteRequest.RouteOptimizations|QGeoRouteRequest.RouteOptimization) -> None: ...
    def setSupportedFeatureWeights(self, featureWeights: QGeoRouteRequest.FeatureWeights|QGeoRouteRequest.FeatureWeight) -> None: ...
    def setSupportedFeatureTypes(self, featureTypes: QGeoRouteRequest.FeatureTypes|QGeoRouteRequest.FeatureType) -> None: ...
    def setSupportedTravelModes(self, travelModes: QGeoRouteRequest.TravelModes|QGeoRouteRequest.TravelMode) -> None: ...
    error: typing.ClassVar[QtCore.pyqtSignal]
    finished: typing.ClassVar[QtCore.pyqtSignal]
    def measurementSystem(self) -> QtCore.QLocale.MeasurementSystem: ...
    def setMeasurementSystem(self, system: QtCore.QLocale.MeasurementSystem) -> None: ...
    def locale(self) -> QtCore.QLocale: ...
    def setLocale(self, locale: QtCore.QLocale) -> None: ...
    def supportedManeuverDetails(self) -> QGeoRouteRequest.ManeuverDetails: ...
    def supportedSegmentDetails(self) -> QGeoRouteRequest.SegmentDetails: ...
    def supportedRouteOptimizations(self) -> QGeoRouteRequest.RouteOptimizations: ...
    def supportedFeatureWeights(self) -> QGeoRouteRequest.FeatureWeights: ...
    def supportedFeatureTypes(self) -> QGeoRouteRequest.FeatureTypes: ...
    def supportedTravelModes(self) -> QGeoRouteRequest.TravelModes: ...
    def updateRoute(self, route: QGeoRoute, position: QtPositioning.QGeoCoordinate) -> QGeoRouteReply|None: ...
    def calculateRoute(self, request: QGeoRouteRequest) -> QGeoRouteReply|None: ...
    def managerVersion(self) -> int: ...
    def managerName(self) -> str: ...


class QNavigationManager(PyQt5.sipsimplewrapper): ...


class QGeoServiceProvider(QtCore.QObject):

    class NavigationFeature(int):
        NoNavigationFeatures = ... # type: QGeoServiceProvider.NavigationFeature
        OnlineNavigationFeature = ... # type: QGeoServiceProvider.NavigationFeature
        OfflineNavigationFeature = ... # type: QGeoServiceProvider.NavigationFeature
        AnyNavigationFeatures = ... # type: QGeoServiceProvider.NavigationFeature

    class PlacesFeature(int):
        NoPlacesFeatures = ... # type: QGeoServiceProvider.PlacesFeature
        OnlinePlacesFeature = ... # type: QGeoServiceProvider.PlacesFeature
        OfflinePlacesFeature = ... # type: QGeoServiceProvider.PlacesFeature
        SavePlaceFeature = ... # type: QGeoServiceProvider.PlacesFeature
        RemovePlaceFeature = ... # type: QGeoServiceProvider.PlacesFeature
        SaveCategoryFeature = ... # type: QGeoServiceProvider.PlacesFeature
        RemoveCategoryFeature = ... # type: QGeoServiceProvider.PlacesFeature
        PlaceRecommendationsFeature = ... # type: QGeoServiceProvider.PlacesFeature
        SearchSuggestionsFeature = ... # type: QGeoServiceProvider.PlacesFeature
        LocalizedPlacesFeature = ... # type: QGeoServiceProvider.PlacesFeature
        NotificationsFeature = ... # type: QGeoServiceProvider.PlacesFeature
        PlaceMatchingFeature = ... # type: QGeoServiceProvider.PlacesFeature
        AnyPlacesFeatures = ... # type: QGeoServiceProvider.PlacesFeature

    class MappingFeature(int):
        NoMappingFeatures = ... # type: QGeoServiceProvider.MappingFeature
        OnlineMappingFeature = ... # type: QGeoServiceProvider.MappingFeature
        OfflineMappingFeature = ... # type: QGeoServiceProvider.MappingFeature
        LocalizedMappingFeature = ... # type: QGeoServiceProvider.MappingFeature
        AnyMappingFeatures = ... # type: QGeoServiceProvider.MappingFeature

    class GeocodingFeature(int):
        NoGeocodingFeatures = ... # type: QGeoServiceProvider.GeocodingFeature
        OnlineGeocodingFeature = ... # type: QGeoServiceProvider.GeocodingFeature
        OfflineGeocodingFeature = ... # type: QGeoServiceProvider.GeocodingFeature
        ReverseGeocodingFeature = ... # type: QGeoServiceProvider.GeocodingFeature
        LocalizedGeocodingFeature = ... # type: QGeoServiceProvider.GeocodingFeature
        AnyGeocodingFeatures = ... # type: QGeoServiceProvider.GeocodingFeature

    class RoutingFeature(int):
        NoRoutingFeatures = ... # type: QGeoServiceProvider.RoutingFeature
        OnlineRoutingFeature = ... # type: QGeoServiceProvider.RoutingFeature
        OfflineRoutingFeature = ... # type: QGeoServiceProvider.RoutingFeature
        LocalizedRoutingFeature = ... # type: QGeoServiceProvider.RoutingFeature
        RouteUpdatesFeature = ... # type: QGeoServiceProvider.RoutingFeature
        AlternativeRoutesFeature = ... # type: QGeoServiceProvider.RoutingFeature
        ExcludeAreasRoutingFeature = ... # type: QGeoServiceProvider.RoutingFeature
        AnyRoutingFeatures = ... # type: QGeoServiceProvider.RoutingFeature

    class Error(int):
        NoError = ... # type: QGeoServiceProvider.Error
        NotSupportedError = ... # type: QGeoServiceProvider.Error
        UnknownParameterError = ... # type: QGeoServiceProvider.Error
        MissingRequiredParameterError = ... # type: QGeoServiceProvider.Error
        ConnectionError = ... # type: QGeoServiceProvider.Error
        LoaderError = ... # type: QGeoServiceProvider.Error

    class RoutingFeatures(PyQt5.sipsimplewrapper):

        @typing.overload
        def __init__(self) -> None: ...
        @typing.overload
        def __init__(self, f: 'QGeoServiceProvider.RoutingFeatures'|'QGeoServiceProvider.RoutingFeature') -> None: ...

        def __hash__(self) -> int: ...
        def __bool__(self) -> int: ...
        def __ne__(self, other: object): ...
        def __eq__(self, other: object): ...
        def __ixor__(self, f: 'QGeoServiceProvider.RoutingFeatures'|'QGeoServiceProvider.RoutingFeature') -> 'QGeoServiceProvider.RoutingFeatures': ...
        def __xor__(self, f: 'QGeoServiceProvider.RoutingFeatures'|'QGeoServiceProvider.RoutingFeature') -> 'QGeoServiceProvider.RoutingFeatures': ...
        def __ior__(self, f: 'QGeoServiceProvider.RoutingFeatures'|'QGeoServiceProvider.RoutingFeature') -> 'QGeoServiceProvider.RoutingFeatures': ...
        def __or__(self, f: 'QGeoServiceProvider.RoutingFeatures'|'QGeoServiceProvider.RoutingFeature') -> 'QGeoServiceProvider.RoutingFeatures': ...
        def __iand__(self, f: 'QGeoServiceProvider.RoutingFeatures'|'QGeoServiceProvider.RoutingFeature') -> 'QGeoServiceProvider.RoutingFeatures': ...
        def __and__(self, f: 'QGeoServiceProvider.RoutingFeatures'|'QGeoServiceProvider.RoutingFeature') -> 'QGeoServiceProvider.RoutingFeatures': ...
        def __invert__(self) -> 'QGeoServiceProvider.RoutingFeatures': ...
        def __index__(self) -> int: ...
        def __int__(self) -> int: ...

    class GeocodingFeatures(PyQt5.sipsimplewrapper):

        @typing.overload
        def __init__(self) -> None: ...
        @typing.overload
        def __init__(self, f: 'QGeoServiceProvider.GeocodingFeatures'|'QGeoServiceProvider.GeocodingFeature') -> None: ...

        def __hash__(self) -> int: ...
        def __bool__(self) -> int: ...
        def __ne__(self, other: object): ...
        def __eq__(self, other: object): ...
        def __ixor__(self, f: 'QGeoServiceProvider.GeocodingFeatures'|'QGeoServiceProvider.GeocodingFeature') -> 'QGeoServiceProvider.GeocodingFeatures': ...
        def __xor__(self, f: 'QGeoServiceProvider.GeocodingFeatures'|'QGeoServiceProvider.GeocodingFeature') -> 'QGeoServiceProvider.GeocodingFeatures': ...
        def __ior__(self, f: 'QGeoServiceProvider.GeocodingFeatures'|'QGeoServiceProvider.GeocodingFeature') -> 'QGeoServiceProvider.GeocodingFeatures': ...
        def __or__(self, f: 'QGeoServiceProvider.GeocodingFeatures'|'QGeoServiceProvider.GeocodingFeature') -> 'QGeoServiceProvider.GeocodingFeatures': ...
        def __iand__(self, f: 'QGeoServiceProvider.GeocodingFeatures'|'QGeoServiceProvider.GeocodingFeature') -> 'QGeoServiceProvider.GeocodingFeatures': ...
        def __and__(self, f: 'QGeoServiceProvider.GeocodingFeatures'|'QGeoServiceProvider.GeocodingFeature') -> 'QGeoServiceProvider.GeocodingFeatures': ...
        def __invert__(self) -> 'QGeoServiceProvider.GeocodingFeatures': ...
        def __index__(self) -> int: ...
        def __int__(self) -> int: ...

    class MappingFeatures(PyQt5.sipsimplewrapper):

        @typing.overload
        def __init__(self) -> None: ...
        @typing.overload
        def __init__(self, f: 'QGeoServiceProvider.MappingFeatures'|'QGeoServiceProvider.MappingFeature') -> None: ...

        def __hash__(self) -> int: ...
        def __bool__(self) -> int: ...
        def __ne__(self, other: object): ...
        def __eq__(self, other: object): ...
        def __ixor__(self, f: 'QGeoServiceProvider.MappingFeatures'|'QGeoServiceProvider.MappingFeature') -> 'QGeoServiceProvider.MappingFeatures': ...
        def __xor__(self, f: 'QGeoServiceProvider.MappingFeatures'|'QGeoServiceProvider.MappingFeature') -> 'QGeoServiceProvider.MappingFeatures': ...
        def __ior__(self, f: 'QGeoServiceProvider.MappingFeatures'|'QGeoServiceProvider.MappingFeature') -> 'QGeoServiceProvider.MappingFeatures': ...
        def __or__(self, f: 'QGeoServiceProvider.MappingFeatures'|'QGeoServiceProvider.MappingFeature') -> 'QGeoServiceProvider.MappingFeatures': ...
        def __iand__(self, f: 'QGeoServiceProvider.MappingFeatures'|'QGeoServiceProvider.MappingFeature') -> 'QGeoServiceProvider.MappingFeatures': ...
        def __and__(self, f: 'QGeoServiceProvider.MappingFeatures'|'QGeoServiceProvider.MappingFeature') -> 'QGeoServiceProvider.MappingFeatures': ...
        def __invert__(self) -> 'QGeoServiceProvider.MappingFeatures': ...
        def __index__(self) -> int: ...
        def __int__(self) -> int: ...

    class PlacesFeatures(PyQt5.sipsimplewrapper):

        @typing.overload
        def __init__(self) -> None: ...
        @typing.overload
        def __init__(self, f: 'QGeoServiceProvider.PlacesFeatures'|'QGeoServiceProvider.PlacesFeature') -> None: ...

        def __hash__(self) -> int: ...
        def __bool__(self) -> int: ...
        def __ne__(self, other: object): ...
        def __eq__(self, other: object): ...
        def __ixor__(self, f: 'QGeoServiceProvider.PlacesFeatures'|'QGeoServiceProvider.PlacesFeature') -> 'QGeoServiceProvider.PlacesFeatures': ...
        def __xor__(self, f: 'QGeoServiceProvider.PlacesFeatures'|'QGeoServiceProvider.PlacesFeature') -> 'QGeoServiceProvider.PlacesFeatures': ...
        def __ior__(self, f: 'QGeoServiceProvider.PlacesFeatures'|'QGeoServiceProvider.PlacesFeature') -> 'QGeoServiceProvider.PlacesFeatures': ...
        def __or__(self, f: 'QGeoServiceProvider.PlacesFeatures'|'QGeoServiceProvider.PlacesFeature') -> 'QGeoServiceProvider.PlacesFeatures': ...
        def __iand__(self, f: 'QGeoServiceProvider.PlacesFeatures'|'QGeoServiceProvider.PlacesFeature') -> 'QGeoServiceProvider.PlacesFeatures': ...
        def __and__(self, f: 'QGeoServiceProvider.PlacesFeatures'|'QGeoServiceProvider.PlacesFeature') -> 'QGeoServiceProvider.PlacesFeatures': ...
        def __invert__(self) -> 'QGeoServiceProvider.PlacesFeatures': ...
        def __index__(self) -> int: ...
        def __int__(self) -> int: ...

    class NavigationFeatures(PyQt5.sipsimplewrapper):

        @typing.overload
        def __init__(self) -> None: ...
        @typing.overload
        def __init__(self, f: 'QGeoServiceProvider.NavigationFeatures'|'QGeoServiceProvider.NavigationFeature') -> None: ...

        def __hash__(self) -> int: ...
        def __bool__(self) -> int: ...
        def __ne__(self, other: object): ...
        def __eq__(self, other: object): ...
        def __ixor__(self, f: 'QGeoServiceProvider.NavigationFeatures'|'QGeoServiceProvider.NavigationFeature') -> 'QGeoServiceProvider.NavigationFeatures': ...
        def __xor__(self, f: 'QGeoServiceProvider.NavigationFeatures'|'QGeoServiceProvider.NavigationFeature') -> 'QGeoServiceProvider.NavigationFeatures': ...
        def __ior__(self, f: 'QGeoServiceProvider.NavigationFeatures'|'QGeoServiceProvider.NavigationFeature') -> 'QGeoServiceProvider.NavigationFeatures': ...
        def __or__(self, f: 'QGeoServiceProvider.NavigationFeatures'|'QGeoServiceProvider.NavigationFeature') -> 'QGeoServiceProvider.NavigationFeatures': ...
        def __iand__(self, f: 'QGeoServiceProvider.NavigationFeatures'|'QGeoServiceProvider.NavigationFeature') -> 'QGeoServiceProvider.NavigationFeatures': ...
        def __and__(self, f: 'QGeoServiceProvider.NavigationFeatures'|'QGeoServiceProvider.NavigationFeature') -> 'QGeoServiceProvider.NavigationFeatures': ...
        def __invert__(self) -> 'QGeoServiceProvider.NavigationFeatures': ...
        def __index__(self) -> int: ...
        def __int__(self) -> int: ...

    def __init__(self, providerName: str|None, parameters: dict[str, typing.Any] = ..., allowExperimental: bool = ...) -> None: ...

    def navigationErrorString(self) -> str: ...
    def navigationError(self) -> 'QGeoServiceProvider.Error': ...
    def placesErrorString(self) -> str: ...
    def placesError(self) -> 'QGeoServiceProvider.Error': ...
    def routingErrorString(self) -> str: ...
    def routingError(self) -> 'QGeoServiceProvider.Error': ...
    def geocodingErrorString(self) -> str: ...
    def geocodingError(self) -> 'QGeoServiceProvider.Error': ...
    def mappingErrorString(self) -> str: ...
    def mappingError(self) -> 'QGeoServiceProvider.Error': ...
    def navigationManager(self) -> QNavigationManager|None: ...
    def navigationFeatures(self) -> 'QGeoServiceProvider.NavigationFeatures': ...
    def setAllowExperimental(self, allow: bool) -> None: ...
    def setLocale(self, locale: QtCore.QLocale) -> None: ...
    def setParameters(self, parameters: dict[str, typing.Any]) -> None: ...
    def errorString(self) -> str: ...
    def error(self) -> 'QGeoServiceProvider.Error': ...
    def placeManager(self) -> 'QPlaceManager|None': ...
    def routingManager(self) -> QGeoRoutingManager|None: ...
    def geocodingManager(self) -> QGeoCodingManager|None: ...
    def placesFeatures(self) -> 'QGeoServiceProvider.PlacesFeatures': ...
    def mappingFeatures(self) -> 'QGeoServiceProvider.MappingFeatures': ...
    def geocodingFeatures(self) -> 'QGeoServiceProvider.GeocodingFeatures': ...
    def routingFeatures(self) -> 'QGeoServiceProvider.RoutingFeatures': ...
    @staticmethod
    def availableServiceProviders() -> list[str]: ...


class QLocation(PyQt5.sip.simplewrapper):

    class Visibility(int):
        UnspecifiedVisibility = ... # type: QLocation.Visibility
        DeviceVisibility = ... # type: QLocation.Visibility
        PrivateVisibility = ... # type: QLocation.Visibility
        PublicVisibility = ... # type: QLocation.Visibility

    class VisibilityScope(PyQt5.sipsimplewrapper):

        @typing.overload
        def __init__(self) -> None: ...
        @typing.overload
        def __init__(self, f: 'QLocation.VisibilityScope'|'QLocation.Visibility') -> None: ...

        def __hash__(self) -> int: ...
        def __bool__(self) -> int: ...
        def __ne__(self, other: object): ...
        def __eq__(self, other: object): ...
        def __ixor__(self, f: 'QLocation.VisibilityScope'|'QLocation.Visibility') -> 'QLocation.VisibilityScope': ...
        def __xor__(self, f: 'QLocation.VisibilityScope'|'QLocation.Visibility') -> 'QLocation.VisibilityScope': ...
        def __ior__(self, f: 'QLocation.VisibilityScope'|'QLocation.Visibility') -> 'QLocation.VisibilityScope': ...
        def __or__(self, f: 'QLocation.VisibilityScope'|'QLocation.Visibility') -> 'QLocation.VisibilityScope': ...
        def __iand__(self, f: 'QLocation.VisibilityScope'|'QLocation.Visibility') -> 'QLocation.VisibilityScope': ...
        def __and__(self, f: 'QLocation.VisibilityScope'|'QLocation.Visibility') -> 'QLocation.VisibilityScope': ...
        def __invert__(self) -> 'QLocation.VisibilityScope': ...
        def __index__(self) -> int: ...
        def __int__(self) -> int: ...


class QPlace(PyQt5.sipsimplewrapper):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlace') -> None: ...

    def isEmpty(self) -> bool: ...
    def setVisibility(self, visibility: QLocation.Visibility) -> None: ...
    def visibility(self) -> QLocation.Visibility: ...
    def removeContactDetails(self, contactType: str|None) -> None: ...
    def appendContactDetail(self, contactType: str|None, detail: 'QPlaceContactDetail') -> None: ...
    def setContactDetails(self, contactType: str|None, details: collections.abc.Iterable['QPlaceContactDetail']) -> None: ...
    def contactDetails(self, contactType: str|None) -> list['QPlaceContactDetail']: ...
    def contactTypes(self) -> list[str]: ...
    def removeExtendedAttribute(self, attributeType: str|None) -> None: ...
    def setExtendedAttribute(self, attributeType: str|None, attribute: 'QPlaceAttribute') -> None: ...
    def extendedAttribute(self, attributeType: str|None) -> 'QPlaceAttribute': ...
    def extendedAttributeTypes(self) -> list[str]: ...
    def setDetailsFetched(self, fetched: bool) -> None: ...
    def detailsFetched(self) -> bool: ...
    def primaryWebsite(self) -> QtCore.QUrl: ...
    def primaryEmail(self) -> str: ...
    def primaryFax(self) -> str: ...
    def primaryPhone(self) -> str: ...
    def setPlaceId(self, identifier: str|None) -> None: ...
    def placeId(self) -> str: ...
    def setName(self, name: str|None) -> None: ...
    def name(self) -> str: ...
    def setTotalContentCount(self, type: 'QPlaceContent.Type', total: int) -> None: ...
    def totalContentCount(self, type: 'QPlaceContent.Type') -> int: ...
    def insertContent(self, type: 'QPlaceContent.Type', content: dict[int, 'QPlaceContent']) -> None: ...
    def setContent(self, type: 'QPlaceContent.Type', content: dict[int, 'QPlaceContent']) -> None: ...
    def content(self, type: 'QPlaceContent.Type') -> dict[int, 'QPlaceContent']: ...
    def setIcon(self, icon: 'QPlaceIcon') -> None: ...
    def icon(self) -> 'QPlaceIcon': ...
    def setAttribution(self, attribution: str|None) -> None: ...
    def attribution(self) -> str: ...
    def setSupplier(self, supplier: 'QPlaceSupplier') -> None: ...
    def supplier(self) -> 'QPlaceSupplier': ...
    def setRatings(self, ratings: 'QPlaceRatings') -> None: ...
    def ratings(self) -> 'QPlaceRatings': ...
    def setLocation(self, location: QtPositioning.QGeoLocation) -> None: ...
    def location(self) -> QtPositioning.QGeoLocation: ...
    def setCategories(self, categories: collections.abc.Iterable['QPlaceCategory']) -> None: ...
    def setCategory(self, category: 'QPlaceCategory') -> None: ...
    def categories(self) -> list['QPlaceCategory']: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QPlaceAttribute(PyQt5.sipsimplewrapper):

    OpeningHours = ... # type: str|None
    Payment = ... # type: str|None
    Provider = ... # type: str|None

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlaceAttribute') -> None: ...

    def isEmpty(self) -> bool: ...
    def setText(self, text: str|None) -> None: ...
    def text(self) -> str: ...
    def setLabel(self, label: str|None) -> None: ...
    def label(self) -> str: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QPlaceCategory(PyQt5.sipsimplewrapper):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlaceCategory') -> None: ...

    def isEmpty(self) -> bool: ...
    def setIcon(self, icon: 'QPlaceIcon') -> None: ...
    def icon(self) -> 'QPlaceIcon': ...
    def setVisibility(self, visibility: QLocation.Visibility) -> None: ...
    def visibility(self) -> QLocation.Visibility: ...
    def setName(self, name: str|None) -> None: ...
    def name(self) -> str: ...
    def setCategoryId(self, identifier: str|None) -> None: ...
    def categoryId(self) -> str: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QPlaceContactDetail(PyQt5.sipsimplewrapper):

    Email = ... # type: str|None
    Fax = ... # type: str|None
    Phone = ... # type: str|None
    Website = ... # type: str|None

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlaceContactDetail') -> None: ...

    def clear(self) -> None: ...
    def setValue(self, value: str|None) -> None: ...
    def value(self) -> str: ...
    def setLabel(self, label: str|None) -> None: ...
    def label(self) -> str: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QPlaceContent(PyQt5.sipsimplewrapper):

    class Type(int):
        NoType = ... # type: QPlaceContent.Type
        ImageType = ... # type: QPlaceContent.Type
        ReviewType = ... # type: QPlaceContent.Type
        EditorialType = ... # type: QPlaceContent.Type
        CustomType = ... # type: QPlaceContent.Type

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlaceContent') -> None: ...

    def setAttribution(self, attribution: str|None) -> None: ...
    def attribution(self) -> str: ...
    def setUser(self, user: 'QPlaceUser') -> None: ...
    def user(self) -> 'QPlaceUser': ...
    def setSupplier(self, supplier: 'QPlaceSupplier') -> None: ...
    def supplier(self) -> 'QPlaceSupplier': ...
    def type(self) -> 'QPlaceContent.Type': ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QPlaceReply(QtCore.QObject):

    class Type(int):
        Reply = ... # type: QPlaceReply.Type
        DetailsReply = ... # type: QPlaceReply.Type
        SearchReply = ... # type: QPlaceReply.Type
        SearchSuggestionReply = ... # type: QPlaceReply.Type
        ContentReply = ... # type: QPlaceReply.Type
        IdReply = ... # type: QPlaceReply.Type
        MatchReply = ... # type: QPlaceReply.Type

    class Error(int):
        NoError = ... # type: QPlaceReply.Error
        PlaceDoesNotExistError = ... # type: QPlaceReply.Error
        CategoryDoesNotExistError = ... # type: QPlaceReply.Error
        CommunicationError = ... # type: QPlaceReply.Error
        ParseError = ... # type: QPlaceReply.Error
        PermissionsError = ... # type: QPlaceReply.Error
        UnsupportedError = ... # type: QPlaceReply.Error
        BadArgumentError = ... # type: QPlaceReply.Error
        CancelError = ... # type: QPlaceReply.Error
        UnknownError = ... # type: QPlaceReply.Error

    def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...

    def setError(self, error: 'QPlaceReply.Error', errorString: str|None) -> None: ...
    def setFinished(self, finished: bool) -> None: ...
    contentUpdated: typing.ClassVar[QtCore.pyqtSignal]
    finished: typing.ClassVar[QtCore.pyqtSignal]
    aborted: typing.ClassVar[QtCore.pyqtSignal]
    def abort(self) -> None: ...
    error: typing.ClassVar[QtCore.pyqtSignal]
    def errorString(self) -> str: ...
    def type(self) -> 'QPlaceReply.Type': ...
    def isFinished(self) -> bool: ...


class QPlaceContentReply(QPlaceReply):

    def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...

    def setNextPageRequest(self, next: 'QPlaceContentRequest') -> None: ...
    def setPreviousPageRequest(self, previous: 'QPlaceContentRequest') -> None: ...
    def setRequest(self, request: 'QPlaceContentRequest') -> None: ...
    def setTotalCount(self, total: int) -> None: ...
    def setContent(self, content: dict[int, QPlaceContent]) -> None: ...
    def nextPageRequest(self) -> 'QPlaceContentRequest': ...
    def previousPageRequest(self) -> 'QPlaceContentRequest': ...
    def request(self) -> 'QPlaceContentRequest': ...
    def totalCount(self) -> int: ...
    def content(self) -> dict[int, QPlaceContent]: ...
    def type(self) -> QPlaceReply.Type: ...


class QPlaceContentRequest(PyQt5.sipsimplewrapper):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlaceContentRequest') -> None: ...

    def clear(self) -> None: ...
    def setLimit(self, limit: int) -> None: ...
    def limit(self) -> int: ...
    def setContentContext(self, context: typing.Any) -> None: ...
    def contentContext(self) -> typing.Any: ...
    def setPlaceId(self, identifier: str|None) -> None: ...
    def placeId(self) -> str: ...
    def setContentType(self, type: QPlaceContent.Type) -> None: ...
    def contentType(self) -> QPlaceContent.Type: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QPlaceDetailsReply(QPlaceReply):

    def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...

    def setPlace(self, place: QPlace) -> None: ...
    def place(self) -> QPlace: ...
    def type(self) -> QPlaceReply.Type: ...


class QPlaceEditorial(QPlaceContent):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: QPlaceContent) -> None: ...
    @typing.overload
    def __init__(self, a0: 'QPlaceEditorial') -> None: ...

    def setLanguage(self, data: str|None) -> None: ...
    def language(self) -> str: ...
    def setTitle(self, data: str|None) -> None: ...
    def title(self) -> str: ...
    def setText(self, text: str|None) -> None: ...
    def text(self) -> str: ...


class QPlaceIcon(PyQt5.sipsimplewrapper):

    SingleUrl = ... # type: str|None

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlaceIcon') -> None: ...

    def isEmpty(self) -> bool: ...
    def setParameters(self, parameters: dict[str, typing.Any]) -> None: ...
    def parameters(self) -> dict[str, typing.Any]: ...
    def setManager(self, manager: 'QPlaceManager|None') -> None: ...
    def manager(self) -> 'QPlaceManager|None': ...
    def url(self, size: QtCore.QSize = ...) -> QtCore.QUrl: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QPlaceIdReply(QPlaceReply):

    class OperationType(int):
        SavePlace = ... # type: QPlaceIdReply.OperationType
        SaveCategory = ... # type: QPlaceIdReply.OperationType
        RemovePlace = ... # type: QPlaceIdReply.OperationType
        RemoveCategory = ... # type: QPlaceIdReply.OperationType

    def __init__(self, operationType: 'QPlaceIdReply.OperationType', parent: QtCore.QObject|None = ...) -> None: ...

    def setId(self, identifier: str|None) -> None: ...
    def id(self) -> str: ...
    def operationType(self) -> 'QPlaceIdReply.OperationType': ...
    def type(self) -> QPlaceReply.Type: ...


class QPlaceImage(QPlaceContent):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: QPlaceContent) -> None: ...
    @typing.overload
    def __init__(self, a0: 'QPlaceImage') -> None: ...

    def setMimeType(self, data: str|None) -> None: ...
    def mimeType(self) -> str: ...
    def setImageId(self, identifier: str|None) -> None: ...
    def imageId(self) -> str: ...
    def setUrl(self, url: QtCore.QUrl) -> None: ...
    def url(self) -> QtCore.QUrl: ...


class QPlaceManager(QtCore.QObject):

    dataChanged: typing.ClassVar[QtCore.pyqtSignal]
    categoryRemoved: typing.ClassVar[QtCore.pyqtSignal]
    categoryUpdated: typing.ClassVar[QtCore.pyqtSignal]
    categoryAdded: typing.ClassVar[QtCore.pyqtSignal]
    placeRemoved: typing.ClassVar[QtCore.pyqtSignal]
    placeUpdated: typing.ClassVar[QtCore.pyqtSignal]
    placeAdded: typing.ClassVar[QtCore.pyqtSignal]
    error: typing.ClassVar[QtCore.pyqtSignal]
    finished: typing.ClassVar[QtCore.pyqtSignal]
    def matchingPlaces(self, request: 'QPlaceMatchRequest') -> 'QPlaceMatchReply|None': ...
    def compatiblePlace(self, place: QPlace) -> QPlace: ...
    def setLocales(self, locale: collections.abc.Iterable[QtCore.QLocale]) -> None: ...
    def setLocale(self, locale: QtCore.QLocale) -> None: ...
    def locales(self) -> list[QtCore.QLocale]: ...
    def childCategories(self, parentId: str|None = ...) -> list[QPlaceCategory]: ...
    def category(self, categoryId: str|None) -> QPlaceCategory: ...
    def childCategoryIds(self, parentId: str|None = ...) -> list[str]: ...
    def parentCategoryId(self, categoryId: str|None) -> str: ...
    def initializeCategories(self) -> QPlaceReply|None: ...
    def removeCategory(self, categoryId: str|None) -> QPlaceIdReply|None: ...
    def saveCategory(self, category: QPlaceCategory, parentId: str|None = ...) -> QPlaceIdReply|None: ...
    def removePlace(self, placeId: str|None) -> QPlaceIdReply|None: ...
    def savePlace(self, place: QPlace) -> QPlaceIdReply|None: ...
    def searchSuggestions(self, request: 'QPlaceSearchRequest') -> 'QPlaceSearchSuggestionReply|None': ...
    def search(self, query: 'QPlaceSearchRequest') -> 'QPlaceSearchReply|None': ...
    def getPlaceContent(self, request: QPlaceContentRequest) -> QPlaceContentReply|None: ...
    def getPlaceDetails(self, placeId: str|None) -> QPlaceDetailsReply|None: ...
    def managerVersion(self) -> int: ...
    def managerName(self) -> str: ...


class QPlaceManagerEngine(QtCore.QObject):

    def __init__(self, parameters: dict[str, typing.Any], parent: QtCore.QObject|None = ...) -> None: ...

    def manager(self) -> QPlaceManager|None: ...
    dataChanged: typing.ClassVar[QtCore.pyqtSignal]
    categoryRemoved: typing.ClassVar[QtCore.pyqtSignal]
    categoryUpdated: typing.ClassVar[QtCore.pyqtSignal]
    categoryAdded: typing.ClassVar[QtCore.pyqtSignal]
    placeRemoved: typing.ClassVar[QtCore.pyqtSignal]
    placeUpdated: typing.ClassVar[QtCore.pyqtSignal]
    placeAdded: typing.ClassVar[QtCore.pyqtSignal]
    error: typing.ClassVar[QtCore.pyqtSignal]
    finished: typing.ClassVar[QtCore.pyqtSignal]
    def matchingPlaces(self, request: 'QPlaceMatchRequest') -> 'QPlaceMatchReply|None': ...
    def compatiblePlace(self, original: QPlace) -> QPlace: ...
    def constructIconUrl(self, icon: QPlaceIcon, size: QtCore.QSize) -> QtCore.QUrl: ...
    def setLocales(self, locales: collections.abc.Iterable[QtCore.QLocale]) -> None: ...
    def locales(self) -> list[QtCore.QLocale]: ...
    def childCategories(self, parentId: str|None) -> list[QPlaceCategory]: ...
    def category(self, categoryId: str|None) -> QPlaceCategory: ...
    def childCategoryIds(self, categoryId: str|None) -> list[str]: ...
    def parentCategoryId(self, categoryId: str|None) -> str: ...
    def initializeCategories(self) -> QPlaceReply|None: ...
    def removeCategory(self, categoryId: str|None) -> QPlaceIdReply|None: ...
    def saveCategory(self, category: QPlaceCategory, parentId: str|None) -> QPlaceIdReply|None: ...
    def removePlace(self, placeId: str|None) -> QPlaceIdReply|None: ...
    def savePlace(self, place: QPlace) -> QPlaceIdReply|None: ...
    def searchSuggestions(self, request: 'QPlaceSearchRequest') -> 'QPlaceSearchSuggestionReply|None': ...
    def search(self, request: 'QPlaceSearchRequest') -> 'QPlaceSearchReply|None': ...
    def getPlaceContent(self, request: QPlaceContentRequest) -> QPlaceContentReply|None: ...
    def getPlaceDetails(self, placeId: str|None) -> QPlaceDetailsReply|None: ...
    def managerVersion(self) -> int: ...
    def managerName(self) -> str: ...


class QPlaceMatchReply(QPlaceReply):

    def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...

    def setRequest(self, request: 'QPlaceMatchRequest') -> None: ...
    def setPlaces(self, results: collections.abc.Iterable[QPlace]) -> None: ...
    def request(self) -> 'QPlaceMatchRequest': ...
    def places(self) -> list[QPlace]: ...
    def type(self) -> QPlaceReply.Type: ...


class QPlaceMatchRequest(PyQt5.sipsimplewrapper):

    AlternativeId = ... # type: str|None

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlaceMatchRequest') -> None: ...

    def clear(self) -> None: ...
    def setParameters(self, parameters: dict[str, typing.Any]) -> None: ...
    def parameters(self) -> dict[str, typing.Any]: ...
    def setResults(self, results: collections.abc.Iterable['QPlaceSearchResult']) -> None: ...
    def setPlaces(self, places: collections.abc.Iterable[QPlace]) -> None: ...
    def places(self) -> list[QPlace]: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QPlaceSearchResult(PyQt5.sipsimplewrapper):

    class SearchResultType(int):
        UnknownSearchResult = ... # type: QPlaceSearchResult.SearchResultType
        PlaceResult = ... # type: QPlaceSearchResult.SearchResultType
        ProposedSearchResult = ... # type: QPlaceSearchResult.SearchResultType

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlaceSearchResult') -> None: ...

    def setIcon(self, icon: QPlaceIcon) -> None: ...
    def icon(self) -> QPlaceIcon: ...
    def setTitle(self, title: str|None) -> None: ...
    def title(self) -> str: ...
    def type(self) -> 'QPlaceSearchResult.SearchResultType': ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QPlaceProposedSearchResult(QPlaceSearchResult):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: QPlaceSearchResult) -> None: ...
    @typing.overload
    def __init__(self, a0: 'QPlaceProposedSearchResult') -> None: ...

    def setSearchRequest(self, request: 'QPlaceSearchRequest') -> None: ...
    def searchRequest(self) -> 'QPlaceSearchRequest': ...


class QPlaceRatings(PyQt5.sipsimplewrapper):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlaceRatings') -> None: ...

    def isEmpty(self) -> bool: ...
    def setMaximum(self, max: float) -> None: ...
    def maximum(self) -> float: ...
    def setCount(self, count: int) -> None: ...
    def count(self) -> int: ...
    def setAverage(self, average: float) -> None: ...
    def average(self) -> float: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QPlaceResult(QPlaceSearchResult):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: QPlaceSearchResult) -> None: ...
    @typing.overload
    def __init__(self, a0: 'QPlaceResult') -> None: ...

    def setSponsored(self, sponsored: bool) -> None: ...
    def isSponsored(self) -> bool: ...
    def setPlace(self, place: QPlace) -> None: ...
    def place(self) -> QPlace: ...
    def setDistance(self, distance: float) -> None: ...
    def distance(self) -> float: ...


class QPlaceReview(QPlaceContent):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: QPlaceContent) -> None: ...
    @typing.overload
    def __init__(self, a0: 'QPlaceReview') -> None: ...

    def setTitle(self, data: str|None) -> None: ...
    def title(self) -> str: ...
    def setReviewId(self, identifier: str|None) -> None: ...
    def reviewId(self) -> str: ...
    def setRating(self, data: float) -> None: ...
    def rating(self) -> float: ...
    def setLanguage(self, data: str|None) -> None: ...
    def language(self) -> str: ...
    def setText(self, text: str|None) -> None: ...
    def text(self) -> str: ...
    def setDateTime(self, dt: QtCore.QDateTime|datetime.datetime) -> None: ...
    def dateTime(self) -> QtCore.QDateTime: ...


class QPlaceSearchReply(QPlaceReply):

    def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...

    def setNextPageRequest(self, next: 'QPlaceSearchRequest') -> None: ...
    def setPreviousPageRequest(self, previous: 'QPlaceSearchRequest') -> None: ...
    def setRequest(self, request: 'QPlaceSearchRequest') -> None: ...
    def setResults(self, results: collections.abc.Iterable[QPlaceSearchResult]) -> None: ...
    def nextPageRequest(self) -> 'QPlaceSearchRequest': ...
    def previousPageRequest(self) -> 'QPlaceSearchRequest': ...
    def request(self) -> 'QPlaceSearchRequest': ...
    def results(self) -> list[QPlaceSearchResult]: ...
    def type(self) -> QPlaceReply.Type: ...


class QPlaceSearchRequest(PyQt5.sipsimplewrapper):

    class RelevanceHint(int):
        UnspecifiedHint = ... # type: QPlaceSearchRequest.RelevanceHint
        DistanceHint = ... # type: QPlaceSearchRequest.RelevanceHint
        LexicalPlaceNameHint = ... # type: QPlaceSearchRequest.RelevanceHint

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlaceSearchRequest') -> None: ...

    def clear(self) -> None: ...
    def setLimit(self, limit: int) -> None: ...
    def limit(self) -> int: ...
    def setRelevanceHint(self, hint: 'QPlaceSearchRequest.RelevanceHint') -> None: ...
    def relevanceHint(self) -> 'QPlaceSearchRequest.RelevanceHint': ...
    def setVisibilityScope(self, visibilityScopes: QLocation.VisibilityScope|QLocation.Visibility) -> None: ...
    def visibilityScope(self) -> QLocation.VisibilityScope: ...
    def setSearchContext(self, context: typing.Any) -> None: ...
    def searchContext(self) -> typing.Any: ...
    def setRecommendationId(self, recommendationId: str|None) -> None: ...
    def recommendationId(self) -> str: ...
    def setSearchArea(self, area: QtPositioning.QGeoShape) -> None: ...
    def searchArea(self) -> QtPositioning.QGeoShape: ...
    def setCategories(self, categories: collections.abc.Iterable[QPlaceCategory]) -> None: ...
    def setCategory(self, category: QPlaceCategory) -> None: ...
    def categories(self) -> list[QPlaceCategory]: ...
    def setSearchTerm(self, term: str|None) -> None: ...
    def searchTerm(self) -> str: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QPlaceSearchSuggestionReply(QPlaceReply):

    def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...

    def setSuggestions(self, suggestions: collections.abc.Iterable[str|None]) -> None: ...
    def type(self) -> QPlaceReply.Type: ...
    def suggestions(self) -> list[str]: ...


class QPlaceSupplier(PyQt5.sipsimplewrapper):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlaceSupplier') -> None: ...

    def isEmpty(self) -> bool: ...
    def setIcon(self, icon: QPlaceIcon) -> None: ...
    def icon(self) -> QPlaceIcon: ...
    def setUrl(self, data: QtCore.QUrl) -> None: ...
    def url(self) -> QtCore.QUrl: ...
    def setSupplierId(self, identifier: str|None) -> None: ...
    def supplierId(self) -> str: ...
    def setName(self, data: str|None) -> None: ...
    def name(self) -> str: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...


class QPlaceUser(PyQt5.sipsimplewrapper):

    @typing.overload
    def __init__(self) -> None: ...
    @typing.overload
    def __init__(self, other: 'QPlaceUser') -> None: ...

    def setName(self, name: str|None) -> None: ...
    def name(self) -> str: ...
    def setUserId(self, identifier: str|None) -> None: ...
    def userId(self) -> str: ...
    def __ne__(self, other: object): ...
    def __eq__(self, other: object): ...
