import type { AllHandlers } from 'node-napcat-ts';
import { Bot } from '.';
export type EventHandler<T extends keyof AllHandlers> = (context: AllHandlers[T]) => void;
export type PluginModule = {
    name: string;
    handlers?: Record<string, EventHandler<any>[]>;
    setup?: (bot: Bot) => Record<string, EventHandler<any>[]>;
};
