import base64


def frontend_proc_info(processor_type: str, processor_process_endpoint: str) -> str:
    """Return processor info (opaque string) for exchanges with frontend."""
    proc_info = f"{processor_type}|{processor_process_endpoint}"
    return base64.b64encode(proc_info.encode()).decode()