from typing import Any

from django.db import models as models

class AreaField(models.FloatField[Any]):
    geo_field: Any = ...
    def __init__(self, geo_field: Any) -> None: ...
    def get_prep_value(self, value: Any) -> Any: ...
    def get_db_prep_value(
        self, value: Any, connection: Any, prepared: bool = ...
    ) -> Any: ...
    def from_db_value(self, value: Any, expression: Any, connection: Any) -> Any: ...
    def get_internal_type(self) -> Any: ...

class DistanceField(models.FloatField[Any]):
    geo_field: Any = ...
    def __init__(self, geo_field: Any) -> None: ...
    def get_prep_value(self, value: Any) -> Any: ...
    def get_db_prep_value(
        self, value: Any, connection: Any, prepared: bool = ...
    ) -> Any: ...
    def from_db_value(self, value: Any, expression: Any, connection: Any) -> Any: ...
    def get_internal_type(self) -> Any: ...
