import type { DeepPartial } from '@hyperse/config-loader'; import { type ConfigLoaderOptions } from '../load-config/types.js'; import type { EvolveBuildResult } from '../types/types-build.js'; import type { FlatCliOptions } from '../types/types-cli-options.js'; import type { EvolveEntryMap } from '../types/types-entry-map.js'; import { type FlatEvolveOptions } from '../types/types-options.js'; export declare function getBuildEntryFiles(projectCwd: string, diffFiles: string[], allEntryInputs: string[], resolveAlias?: Record, graphTreeNodeFilter?: (moduleId: string) => boolean): Promise; /** * Dynamic check which entry modules need to build. * @returns */ export declare function dynamicCheckBuildEntryMap(projectCwd: string, earlyCommit?: string | null, lastCommit?: string, overrideEvolveOptions?: DeepPartial, configLoaderOptions?: ConfigLoaderOptions): Promise<{ buildEntries: EvolveEntryMap; newEvolveOptions: FlatEvolveOptions; }>; /** * The main entry to start an evolve `build` with automatically detect modules which have been changed between two commits. * @param projectCwd The Root directory (workspace) of this project. * @param earlyCommit The diff based earlier commit hash * @param lastCommit If is omitted, it will have the same effect as using HEAD instead. */ export declare const startDynamicBuild: (projectCwd: string, earlyCommit?: string, lastCommit?: string, overrideEvolveOptions?: DeepPartial, configLoaderOptions?: ConfigLoaderOptions, cliOptions?: FlatCliOptions) => Promise;