/** * Plugin Commands Registration * * Discovers commands from pipeline plugins and registers them with Commander. * Commands follow the stage routing pattern (local vs workflow). */ import type { Command } from 'commander'; import type { PluginCommand, Stage, FactiiiConfig, Reachability } from '../types/index.js'; /** * Pipeline plugin class interface for commands */ interface PipelinePluginClass { id: string; commands?: PluginCommand[]; canReach(stage: Stage, config: FactiiiConfig): Reachability; } /** * Register all commands from a pipeline plugin */ export declare function registerPluginCommands(program: Command, pipelinePlugin: PipelinePluginClass): void; export {}; //# sourceMappingURL=plugin-commands.d.ts.map