import type { Command } from "@cliffy/command"; import type { Hsh } from "../hsh.ts"; import { Notebook } from "../notebook.ts"; export interface EventHandler { handleNotebookChanged?(notebook: Notebook, message: string): Promise; } export interface Plugin { register( cmd: Command, hsh: Hsh, ): void; }