Resolve a full provider chain from the available providers and preferences.
This combines deterministic filtering/reordering via
resolveProviderOrder with optional weighted primary selection via
selectWeightedProvider. When weights are present, a single primary
provider is chosen from the ordered list and moved to the front while the
remaining providers preserve their relative order as fallbacks.
Resolve a full provider chain from the available providers and preferences.
This combines deterministic filtering/reordering via resolveProviderOrder with optional weighted primary selection via selectWeightedProvider. When
weightsare present, a single primary provider is chosen from the ordered list and moved to the front while the remaining providers preserve their relative order as fallbacks.