9 lines
279 B
TypeScript
9 lines
279 B
TypeScript
import type { EventHookT } from "@silverbulletmd/silverbullet/type/manifest";
|
|
import type { Hook } from "./types.ts";
|
|
|
|
export interface EventHookI extends Hook<EventHookT> {
|
|
dispatchEvent(eventName: string, ...args: unknown[]): Promise<unknown[]>;
|
|
|
|
listEvents(): string[];
|
|
}
|