import { LibraryFormats, Plugin } from 'vite';
import * as vitePluginDts from 'vite-plugin-dts';
export { vitePluginDts as dts };

declare const coverage: {
    enabled: boolean;
    all: boolean;
    include: string[];
    provider: "v8";
};
interface Options {
    /** Defaults to `src/index.ts`. */
    entry: string;
    externalPackages?: (string | RegExp)[];
    /** Defaults to `['es']`. */
    formats?: LibraryFormats[];
    /** Defaults to `package.json`. */
    manifest: string;
    name?: string;
    verbose?: boolean;
    /** Remove any temporary build files. Defaults to `true`. */
    cleanup?: boolean;
}
declare function tsconfigPaths(options?: Partial<Options>): Plugin;
declare function library(options?: Partial<Options>): Plugin[];
/**
 * Remove any temporary `vite.config.ts.timestamp-*` files.
 */
declare function cleanup(): Plugin;

export { type Options, cleanup, coverage, library, tsconfigPaths };
