I cannot think of something else right now but you could pass a lambda as you said
fun something(searchSetter: (String) -> Unit)
and call that.
I don’t really know how to set a mutableState field manually but if that’s easy, you woudn’t use the delegate on search and would be able to pass