import { type TrustedModules } from "../../compiler/trustedModules.js"; import type { ToolImport } from "./toolImports.js"; /** The driver's node for each command, so a command names its node by kind. */ export declare const DRIVER_NODES: { readonly tools: "wfToolsNode"; readonly check: "wfCheckNode"; readonly compile: "wfCompileNode"; readonly list: "wfListNode"; readonly run: "wfRunNode"; }; /** Every name the driver binds. A tool with one of these names would clash. * Written beside the text, as `PROGRAM_NAMES` is beside the generator's * scaffold; a test checks the two agree. */ export declare const DRIVER_NAMES: string[]; /** The driver's text, with each local module's path made relative to the * folder the driver is written to. */ export declare function driverSource(imports: ToolImport[], projectDir: string, driverDir: string, trustedModules: TrustedModules[]): string;