Delete Hook for Servers?

Does anyone know if there is a hook to run cleanup code when a server is deleted? I’ve been scouring the documentation and haven’t seen one yet.

I know that pre_spawn_hook and post_stop_hook exist and can be used to run code when a server is started or stopped, respectively. Maybe there is a way to determine if { remove: true } is set in post_stop_hook?