Set the advertised ALPNs.
Replay the minimal preset (crypto provider only, no external deps).
Replay the n0 production preset (relays + discovery + crypto provider).
Replay the n0 preset with relays disabled.
Bind the endpoint.
Set the address the endpoint binds to (host:port).
Set the endpoint secret key (32 bytes).
A mutable handle to an endpoint builder.
Mirrors the uniffi
EndpointBuilder. A "preset" in JS is simply any function(builder: EndpointBuilder) => void— call one of the built-in [presetN0] / [presetMinimal] / [presetN0DisableRelay] helpers (which install the crypto provider) and then layer on your own configuration.