import type { ConfigLoaderOptions } from '../load-config/types.js'; import type { EvolveBuildResult } from '../types/types-build.js'; import type { EvolveEntryMap } from '../types/types-entry-map.js'; import type { FlatEvolveOptions } from '../types/types-options.js'; /** * Compares two arrays of build modules and returns a new array containing modules that are present in the second array but not in the first. * @param originalBuildModules - The original array of build modules. * @param buildModules - The new array of build modules to compare with the original. * @returns A promise that resolves to an array of new build modules not present in the original array. */ export declare const diffBuildModules: (originalBuildModules: string[], buildModules: string[]) => Promise; /** * Splits the entry map into groups based on the given build modules and options. * @param buildModules - The list of build modules to filter the entry map by. * @param newEvolveOptions - The evolve options to use for splitting the entry map. * @param groupCount - The number of groups to split the entry map into. Defaults to 0. * @returns A promise that resolves to an array of EvolveEntryMap, each representing a group. */ export declare const splitGroupEntryMap: (buildModules: string[], newEvolveOptions: FlatEvolveOptions, groupCount?: number) => Promise; declare class CompilerServerManager { private factoryList; private globalCompilerServer; private createNormalCompilerServerFactory; prepareNormalCompiler(projectCwd: string, buildModules: string[], evolveOptions: FlatEvolveOptions, configLoaderOptions?: ConfigLoaderOptions): Promise; prepareGlobalCompiler(evolveOptions: FlatEvolveOptions): Promise; checkGlobalCompiler(): Promise; recompile(): Promise; } export declare const compilerServerManager: CompilerServerManager; export {};