import * as _codecov_bundler_plugin_core from '@codecov/bundler-plugin-core';
import { Options } from '@codecov/bundler-plugin-core';
import { VitePlugin } from 'unplugin';

/**
 * Details for the Codecov Vite plugin.
 *
 * @example
 * ```typescript
 * // vite.config.js
 * import { defineConfig } from "vite";
 * import { codecovVitePlugin } from "@codecov/vite-plugin";
 *
 * export default defineConfig({
 *   plugins: [
 *     // Put the Codecov vite plugin after all other plugins
 *     codecovVitePlugin({
 *       enableBundleAnalysis: true,
 *       bundleName: "example-vite-bundle",
 *       gitService: "github",
 *     }),
 *   ],
 * });
 * ```
 *
 * @see {@link @codecov/bundler-plugin-core!Options | Options} for list of options.
 */
declare const codecovVitePlugin: (options: Options) => VitePlugin<any>[];
/**
 * Do not use this plugin directly. For internal use only.
 *
 * Used to expose the vite bundle analysis unplugin plugin that can be combined with other plugins
 * to create a single plugin for a given meta-framework.
 *
 * @internal
 */
declare const _internal_viteBundleAnalysisPlugin: _codecov_bundler_plugin_core.BundleAnalysisUploadPlugin;

export { _internal_viteBundleAnalysisPlugin, codecovVitePlugin };
