import type { Plugin } from 'vite';
type VitePluginWatchExternalOptions = {
    workspaceRoot: string;
    currentPackage: string;
    format: 'esm' | 'cjs';
    fileTypes?: string[];
    ignorePaths?: string[];
};
/**
 * Plugin to watch a workspace for changes and rebuild when detected using esbuild
 * @param config
 * The config contains the following parameters
 *  - workspaceRoot: path to the root of the workspace
 *  - currentPackage: path to the current package or glob. Will be transformed to a glob if a path is passed.
 *  - format: esm | cjs
 *  - fileTypes: ts | tsx | js | jsx | ... (optional)
 *  - ignorePaths: paths or globs to ignore (optional)
 * @constructor
 */
export declare const VitePluginWatchWorkspace: (config: VitePluginWatchExternalOptions) => Promise<Plugin<any>>;
export {};
//# sourceMappingURL=VitePluginWatchWorkspace.d.ts.map