Can't import @ionic/pro in a Capacitor project

I just upgraded my project to use capacitor and now when I try and use the @ionic/pro module, I get several errors on the build.

ERROR in node_modules/@ionic/pro/dist/src/definitions.d.ts:1:23 - error TS2688: Cannot find type definition file for 'cordova-plugin-ionic'.
1 /// <reference types="cordova-plugin-ionic" />
                        ~~~~~~~~~~~~~~~~~~~~
node_modules/@ionic/pro/dist/src/definitions.d.ts:33:13 - error TS2304: Cannot find name 'IDeployPluginAPI'.    

33     deploy: IDeployPluginAPI;
               ~~~~~~~~~~~~~~~~
node_modules/@ionic/pro/dist/src/definitions.d.ts:36:33 - error TS2339: Property 'IonicCordova' does not exist on type 'Window'.

36     getPlugin(): Promise<Window['IonicCordova'] | undefined>;
                                   ~~~~~~~~~~~~~~
node_modules/@ionic/pro/dist/src/index.d.ts:1:23 - error TS2688: Cannot find type definition file for 'cordova-plugin-ionic'.

1 /// <reference types="cordova-plugin-ionic" />
                        ~~~~~~~~~~~~~~~~~~~~
node_modules/@ionic/pro/dist/src/index.d.ts:34:22 - error TS2304: Cannot find name 'IDeployPluginAPI'.

34     readonly deploy: IDeployPluginAPI;
                        ~~~~~~~~~~~~~~~~
node_modules/@ionic/pro/dist/src/index.d.ts:41:29 - error TS2304: Cannot find name 'IDeployPluginAPI'.

41     static readonly deploy: IDeployPluginAPI;
                               ~~~~~~~~~~~~~~~~
node_modules/@ionic/pro/dist/src/index.d.ts:54:33 - error TS2339: Property 'IonicCordova' does not exist on type 'Window'.

54     getPlugin(): Promise<Window['IonicCordova'] | undefined>;

I use this to load from my Beta channel instead of the Production channel. How do I get this working in Capacitor?