Convert CodedUI (Visual Studio, C#) to WinAppDriver or Appium

As CodedUI is deprecated and we have a large number of scripts written, is there a tool to convert CodedUI (Visual Studio, C#) to WinAppDriver or Appium? To rewrite these scripts manually would be a major development effort. Any suggestions are welcomed.