export { plugin as default }; import type { Plugin } from 'vite'; import { type FilterPattern } from '@rollup/pluginutils'; import { Library } from './translationLayer/uniforms.js'; type Options = { include?: FilterPattern; exclude?: FilterPattern; types?: { /** * A path alias the shaders are reached through, which the declarations * are keyed on. * * Leave it out when shaders sit beside the components that use them: * each declaration is then written as a sidecar, typing the file it * sits next to, and an importer reaches it by path. `root` says where * to look for them. */ alias?: string; /** Where to look for shaders when there is no alias. Defaults to the project root. */ root?: string; library?: Library | 'threejs'; uniforms?: boolean; }; }; declare const plugin: ({ include, exclude, types }?: Options) => Plugin;