import { type Denops } from "https://deno.land/x/denops_core@v6.0.0/denops.ts";
Denops is a facade instance visible from each denops plugin.
definition: { readonly name: string; readonly meta: Meta; readonly context: Record<PropertyKey, unknown>; dispatcher: Dispatcher; redraw(force?: boolean): Promise<void>; call(fn: string, ...args: unknown[]): Promise<unknown>; batch(...calls: [string, ...unknown[]][]): Promise<unknown[]>; cmd(cmd: string, ctx?: Context): Promise<void>; eval(expr: string, ctx?: Context): Promise<unknown>; dispatch(): Promise<unknown>; }
name: string,
fn: string,
...args: unknown[],