/**
 * Pre-dispatch side-effect handlers.
 *
 * Extracted from src/ccs.ts (Phase B, lines 145-254 after Phase A extraction).
 * Each handler may short-circuit the dispatch by returning true.
 *
 * Handles: update check, auto-migrate, recovery-manager, root-command router,
 * provider help shortcut, copilot/cursor subcommand routing, first-time install hint.
 */
import type { Logger } from '../services/logging/logger';
export interface PreDispatchContext {
    args: string[];
    cliLogger: Logger;
}
/**
 * Run all pre-dispatch side-effect handlers in sequence.
 * Returns true if a handler consumed the command (caller should return immediately).
 * Returns false if dispatch should continue normally.
 *
 * All process.exit calls and dynamic imports are preserved at original call sites.
 */
export declare function runPreDispatchHandlers(ctx: PreDispatchContext): Promise<boolean>;
//# sourceMappingURL=pre-dispatch.d.ts.map