package yoi:plugin@1.0.0;

world instance {
  import yoi:host/request@1.0.0;
  import yoi:host/websocket@1.0.0;
  import yoi:host/fs@1.0.0;

  export start: func(config-json: string) -> string;
  export handle-tool: func(name: string, input-json: string) -> string;
  export handle-ingress: func(name: string, event-json: string) -> string;
  export status: func() -> string;
  export stop: func() -> string;
}
