/**
 * Commander program setup
 *
 * Creates the Command instance, registers global options,
 * and sets up the preAction hook for initialization.
 */
import { Command } from 'commander';
declare const cliVersion: string;
/** Resolved cwd shared across commands via preAction hook */
export declare let resolvedCwd: string;
/** Whether pipeline mode is active (--task specified, set in preAction) */
export declare let pipelineMode: boolean;
export { cliVersion };
export declare const program: Command;
/**
 * Run pre-action hook: common initialization for all commands.
 * Exported for use in slash-command fallback logic.
 */
export declare function runPreActionHook(): Promise<void>;
//# sourceMappingURL=program.d.ts.map