import type { OptimizerFactory } from "./optimizer.js"; /** * Load a user-authored TypeScript optimizer module and return its factory. * Transpiles with esbuild (leaving `agency-lang` external so the user's * `import { BaseOptimizer } from "agency-lang/optimize"` resolves to the * installed package), writes the bundle next to the source so Node finds the * project's node_modules, and returns the default-exported factory. */ export declare function loadOptimizerModule(filePath: string): Promise;