from typing import Optional

from gta.entity import Entity

class Vehicle(Entity):
    @property
    def is_driveable(self) -> bool: ...
    @property
    def passenger_count(self) -> int: ...
    @property
    def max_passengers(self) -> int: ...
    def set_engine(self, on: bool, instantly: bool = ...) -> None: ...
    def place_on_ground(self) -> bool: ...
    def ped_in_seat(self, seat: int) -> Optional["Ped"]: ...

from gta.ped import Ped
