1+ import type { PackageType as PackageType_0 , RemoteKeys as RemoteKeys_0 } from './host/apis.d.ts' ;
2+ import type { PackageType as PackageType_1 , RemoteKeys as RemoteKeys_1 } from './remote/apis.d.ts' ;
3+ declare module "@module-federation/runtime" {
4+ type RemoteKeys = RemoteKeys_0 | RemoteKeys_1 ;
5+ type PackageType < T , Y = any > = T extends RemoteKeys_0 ? PackageType_0 < T > :
6+ T extends RemoteKeys_1 ? PackageType_1 < T > :
7+ Y ;
8+ export function loadRemote < T extends RemoteKeys , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
9+ export function loadRemote < T extends string , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
10+ }
11+ declare module "@module-federation/enhanced/runtime" {
12+ type RemoteKeys = RemoteKeys_0 | RemoteKeys_1 ;
13+ type PackageType < T , Y = any > = T extends RemoteKeys_0 ? PackageType_0 < T > :
14+ T extends RemoteKeys_1 ? PackageType_1 < T > :
15+ Y ;
16+ export function loadRemote < T extends RemoteKeys , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
17+ export function loadRemote < T extends string , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
18+ }
19+ declare module "@module-federation/runtime-tools" {
20+ type RemoteKeys = RemoteKeys_0 | RemoteKeys_1 ;
21+ type PackageType < T , Y = any > = T extends RemoteKeys_0 ? PackageType_0 < T > :
22+ T extends RemoteKeys_1 ? PackageType_1 < T > :
23+ Y ;
24+ export function loadRemote < T extends RemoteKeys , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
25+ export function loadRemote < T extends string , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
26+ }
27+ declare module "@modern-js/runtime/mf" {
28+ type RemoteKeys = RemoteKeys_0 | RemoteKeys_1 ;
29+ type PackageType < T , Y = any > = T extends RemoteKeys_0 ? PackageType_0 < T > :
30+ T extends RemoteKeys_1 ? PackageType_1 < T > :
31+ Y ;
32+ export function loadRemote < T extends RemoteKeys , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
33+ export function loadRemote < T extends string , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
34+ }
35+
0 commit comments