@dapplets/dapplet-extension
Version:
The Bridge to the Augmented Web.
46 lines (45 loc) • 1.14 kB
TypeScript
import { ModuleTypes } from '../../../common/constants';
import { State } from '../state';
import { Exports } from '../types';
declare class OverlayAdapter {
_states: {
state: State<any>;
moduleName: string;
}[];
exports: () => Exports;
attachConfig(featureConfig: any, moduleRuntimeInfo: any): void;
detachConfig(_: any, moduleName: any): void;
_refreshReactState: () => void;
}
declare const Module: {
manifest: {
branch: string;
createdAt: string;
defaultConfig: {};
dependencies: {};
dist: {
hash: string;
uris: any[];
};
environment: string;
extensionVersion: string;
interfaces: {};
main: {
hash: string;
uris: any[];
};
name: string;
registryUrl: string;
schemaConfig: {};
type: ModuleTypes;
version: string;
overlays: {};
getId: () => string;
};
order: number;
contextIds: any[];
defaultConfig: {};
schemaConfig: {};
clazz: typeof OverlayAdapter;
};
export default Module;