OptionalportsPorts contributed by this provider. Keys overwrite earlier ports with the same name at runtime. Prefer unique keys unless the replacement implements the same port contract.
OptionalstartOptional hook called after all providers have contributed their ports.
Declared as a method so typed providers stay assignable to loosely typed
provider lists. Hooks that take ctx with an unannotated parameter keep
TypeScript from inferring ProvidedPorts from the returned ports.
Prefer closing over setup locals, or annotate ctx with
ProviderLifecycleContext<...>.
Optionalstop
Result returned from provider setup.