from typing import Any

from django.db.models import Func
from django.db.models.fields import Field

class Cast(Func):
    def __init__(
        self, expression: Any, output_field: str | Field[Any, Any]
    ) -> None: ...

class Coalesce(Func): ...

class Collate(Func):
    def __init__(self, expression: Any, collation: str) -> None: ...

class Greatest(Func): ...

class JSONObject(Func):
    def __init__(self, **fields: Any) -> None: ...

class Least(Func): ...
class NullIf(Func): ...
