import { OutputBundle, Plugin } from 'rollup'; /** The plugin options. */ interface Options { /** Set to `true` to invalidate plugin and emit files. */ emit?: boolean; /** * Returns `true` to skip emit for output file. * @param fileName The output bundle file name to match. * @param output The Rollup output chunk or asset. * @returns Determines if the output file will be skipped or not. */ match?(fileName: string, output: OutputBundle[keyof OutputBundle]): boolean; } /** @deprecated Since v1.2.0. Use {@linkcode Options} instead. */ type RollupNoEmitOptions = Options; /** * A Rollup plugin that skips emit for generated bundles. * @param options The plugin options. * @returns The plugin. */ declare function noEmit(options?: Options): Plugin; export { noEmit as default, noEmit }; export type { Options, RollupNoEmitOptions };