/// import { Context, Logger } from 'koishi'; import vm from "node:vm"; export declare class PluginRuntime { protected ctx: Context; protected logger: Logger; protected contextHooks: ((context: any, koishi_ctx: any) => void)[]; constructor(ctx: Context); createContext(): vm.Context; disposeContext(ctx: any): void; addContextHook(hook: (context: any, koishi_ctx: any) => void): void; }