/** * Script Runner * * Utility for running framework scripts from handlers. * Script execution utility for CLI handlers. * * @implements @.aiwg/architecture/decisions/ADR-001-unified-extension-system.md * @source @src/cli/router.ts * @issue #33 */ import { HandlerResult, ScriptRunner, ScriptRunnerOptions } from './types.js'; /** * Default script runner implementation * * Delegates command execution to existing Node.js scripts. */ export declare class DefaultScriptRunner implements ScriptRunner { private frameworkRoot; constructor(frameworkRoot: string); /** * Run a Node.js script from the framework * * @param scriptPath - Relative path to script from framework root * @param args - Arguments to pass to script * @param options - Execution options */ run(scriptPath: string, args?: string[], options?: ScriptRunnerOptions): Promise; } /** * Create a script runner for the given framework root */ export declare function createScriptRunner(frameworkRoot: string): ScriptRunner; //# sourceMappingURL=script-runner.d.ts.map