A note-taking app inspired by nb
1import type { Command } from "@cliffy/command";
2import type { Hsh } from "../hsh.ts";
3import { Notebook } from "../notebook.ts";
4
5export interface EventHandler {
6 handleNotebookChanged?(notebook: Notebook, message: string): Promise<void>;
7}
8
9export interface Plugin {
10 register(
11 cmd: Command,
12 hsh: Hsh,
13 ): void;
14}