import { type BufExistsArg } from "https://deno.land/x/denops_std@v7.0.0-pre0/function/buffer.ts";
If the {buf} argument is a number, buffer numbers are used. Number zero is the alternate buffer for the current window.
If the {buf} argument is a string it must match a buffer name exactly. The name can be:
- Relative to the current directory.
- A full path.
- The name of a buffer with 'buftype' set to "nofile".
- A URL name.