export type AppletRunFunc = () => Promise; export interface Applet { name: string; runFunc: AppletRunFunc; }