import Desc from './index';
import { ModuleName } from '../types/protocol';
export type Deps<N extends ModuleName> = typeof Desc[N]['dependencies'][number];
export type EventNames<D extends ModuleName> = typeof Desc[D]['eventNames'][number];
export type CmdNames<D extends ModuleName> = typeof Desc[D]['commandNames'][number];
