import * as Toolkit from 'chipmunk.client.toolkit' ; export type TPluginExportsCallback = ( exports : Toolkit . IPluginExports ) => void ; export type TPluginServiceCallback = ( service : Toolkit . APluginService ) => void ; export class ControllerPluginGate extends Toolkit . APluginServiceGate { private _modules : Toolkit . ICoreModules ; private _require : Toolkit . TRequire ; private _exports : Toolkit . IPluginExports | undefined ; constructor ( modules , require ) { super ( ) ; this . _modules = modules ; this . _require = require ; } public getCoreModules ( ) { return this . _modules ; } public getRequireFunc ( ) { return this . _require ; } public setPluginExports ( exports ) { this . _exports = exports ; } public getPluginExports ( ) { return this . _exports ; } }