import { IComponentModuleConfig } from '../../types'; import { ProxyComponent } from './ProxyComponent'; /** * Provides an abstraction to a component via a module import based on a config. * * If the config describes `fork`, which causes the module to be forked as a child process instead. */ export declare class ModuleProxy extends ProxyComponent { type: 'module'; private config; private component; constructor(config: IComponentModuleConfig); initialize(): Promise; on: (...args: any[]) => Promise; emit: (...args: any[]) => Promise; }