import { Plugin } from 'vite'; import { FilterPattern } from '@rollup/pluginutils'; interface Options { /** * Enable the inspect plugin (could be some performance overhead) * * Use a boolean to enable or disable the plugin completely (both 'server' and 'client' modes) * Use 'serve' or 'build' to enable the plugin for only the given mode * @default true */ enabled?: boolean | 'serve' | 'build'; /** * Filter for modules to be inspected */ include?: FilterPattern; /** * Filter for modules to not be inspected */ exclude?: FilterPattern; /** * Location of inspect plugin client directory to be copied from/served in dev */ clientDir?: string; /** * Location of build out */ outDir?: string; } declare function PluginInspect(options?: Options): Plugin; export { Options, PluginInspect as default };