from typing import Any


def default_serialize(value: Any) -> str:
    """Default value serializer.

    ``None`` -> ``""``
    ``value: Union[bool, int, float, str]`` -> ``str(value)``
    ``value: Any`` -> ``repr(value)``
    """
    if isinstance(value, str):
        return value
    if isinstance(value, (bool, int, float)):
        return str(value)
    if value is None:
        return ""
    return repr(value)