"URLsForApplicationsToOpenContentType" alternative in macOS

Recently we surveyed macOS file association by extension to retrieve what app to “open with”. Ex: image.png -> “Preview” to open “URLsForApplicationsToOpenContentType”(macOS 12.0+) is a good API which returns NSArray for “open with” app list. https://developer.apple.com/documentation/appkit/nsworkspace/3752999-urlsforapplicationstoopencontent

May I ask the alternative for “URLsForApplicationsToOpenContentType” below macOS 12.x ?  “LSCopyDefaultApplicationURLForContentType” (macOS 10.10–12.00) is “Deprecated”. https://developer.apple.com/documentation/coreservices/launch_services?language=objc

"URLsForApplicationsToOpenContentType" alternative in macOS
 
 
Q