import type { ResolvedConfig } from '..';
import type { Plugin } from '../plugin';
export declare const ERR_OPTIMIZE_DEPS_PROCESSING_ERROR = "ERR_OPTIMIZE_DEPS_PROCESSING_ERROR";
export declare const ERR_OUTDATED_OPTIMIZED_DEP = "ERR_OUTDATED_OPTIMIZED_DEP";
export declare function registerWorkersSource(config: ResolvedConfig, id: string): void;
export declare function optimizedDepsPlugin(config: ResolvedConfig): Plugin;
export declare function optimizedDepsBuildPlugin(config: ResolvedConfig): Plugin;
