In some cases it may be useful to have access to type information when wrapping a parameter for invocation of an interpolator. An example usage if this would be a JSON interpolator using the kotlinx-serialization json types and intending to wrap parameters implicitly to JsonElement using the reified Json#encodeToJsonElement(value: T) helper.
Alternatively, if reified/inline functions are an issue, being able to support a KType parameter in the wrap method signatures would allow for an invocation similar to fun MyInterpolator.wrap(value: Any, typeInfo: KType) = json.encodeToJsonElement(serializer(typeInfo), value)