A general framework for heterogeneous variable importance: Pointwise and uniform inference | Synapse