import { type ConfigPatch, type PluginId, type RuntimeConfigDocument } from '@zhin.js/plugin-runtime'; import { ConfigComposer, type ComposedConfig } from './config-composer.js'; import type { ProjectGraph } from './project-graph.js'; export interface ConfigPatchPlan extends ComposedConfig { readonly candidate: RuntimeConfigDocument; readonly documentChanged: boolean; readonly roots: readonly PluginId[]; } /** Validates a candidate document before deriving its minimal replacement forest. */ export declare class ConfigPatchPlanner { private readonly composer; constructor(composer?: ConfigComposer); plan(graph: ProjectGraph, current: RuntimeConfigDocument, patches: readonly ConfigPatch[]): Promise; }