def METHOD_NAME(multihash: bytes) -> str:
    """
    Convert the given multihash to a base58 encoded string.
    :param multihash: The input multihash as an array of bytes.
    :return: Output Base58 encoded string representation of input hash.
    """
    if not isinstance(multihash, bytes):
        raise TypeError("input must be bytes array")
    return base58.b58encode(multihash).decode()