package types // CleanupFunc represents the resource cleanup function type CleanupFunc func() error