@amo-tm/wsc
Version:
The amo WSC component of the amo JS SDK
15 lines (14 loc) • 585 B
TypeScript
import { InstanceFactory, Name, RemoteInstanceUrl } from './types';
declare const registerRemoteInstanceFactory: <T extends keyof import("./types").NameServiceMapping>(instanceFactory: InstanceFactory<T>) => void;
export declare class RemoteInstanceLoader<T extends Name> {
private readonly url;
constructor(url: RemoteInstanceUrl);
getInstanceFactory(): InstanceFactory<T>;
private initializeRemoteScript;
}
declare module '../window' {
interface AmoJsSdk {
_registerInstanceFactory?: typeof registerRemoteInstanceFactory;
}
}
export {};