UNPKG

@vnxjs/service

Version:
13 lines (12 loc) 389 B
import Kernel from './Kernel'; import { IHook, ICommand, IPlatform } from '../src/utils/types'; export default class Plugin { id: string; path: string; ctx: Kernel; constructor(opts: any); register(hook: IHook): void; registerCommand(command: ICommand): void; registerPlatform(platform: IPlatform): void; registerMethod(...args: any[]): void; }