import type { FilterPattern } from '@rollup/pluginutils'; import type { BunPlugin } from 'bun'; import type { IFileReporterOptions, PluginOptions, Preprocessor } from '@wyw-in-js/transform'; export type BunPluginOptions = { debug?: IFileReporterOptions | false | null | undefined; exclude?: FilterPattern; filter?: RegExp | string; include?: FilterPattern; keepComments?: boolean | RegExp; nodeModules?: boolean; prefixer?: boolean; preprocessor?: Preprocessor; sourceMap?: boolean; transformLibraries?: boolean; } & Partial; export default function wywInJS({ debug, include, exclude, filter, nodeModules, transformLibraries, sourceMap, keepComments, prefixer, preprocessor, ...rest }?: BunPluginOptions): BunPlugin;