import { LoadOptions } from "js-yaml"; import { Plugin } from "vite"; //#region index.d.ts type ViteYamlPluginOpts = { /** Regex to match on the file path. Default: `/\.(yml|yaml)$/i` */match?: RegExp; /** Options passed to js-yaml's `load` function */ opts?: LoadOptions; }; /** Vite plugin to import YAML files */ declare const yamlPlugin: (opts?: ViteYamlPluginOpts) => Plugin; //#endregion export { ViteYamlPluginOpts, yamlPlugin };