The raw, untrusted configuration object provided by the SDK consumer.
The ConfigurationSchema describing every field to validate.
Optional error reporter; when provided, validation failures are reported
through display.error with a message naming the offending field.
The validated, defaulted configuration, or undefined if initConfig is missing
or a required/strict field failed validation.
Validates a raw init configuration object against a ConfigurationSchema and builds the corresponding InferredConfig. Use this to derive a schema-driven configuration builder for a package (e.g.
validateAndBuildRumConfiguration) instead of writing per-field validation by hand.