/**
 * CLI helper functions
 *
 * Utility functions for option parsing and task classification.
 */
import type { Command } from 'commander';
import type { TaskExecutionOptions } from '../../features/tasks/index.js';
/**
 * Resolve --provider and --model options into TaskExecutionOptions.
 * Returns undefined if neither is specified.
 */
export declare function resolveAgentOverrides(program: Command): TaskExecutionOptions | undefined;
/**
 * Check if the input is a task description that should execute directly
 * vs one that should enter interactive mode.
 *
 * Direct execution (returns true):
 * - Valid issue references (e.g., "#32", "#10 #20")
 *
 * Interactive mode (returns false):
 * - All other inputs (task descriptions, single words, slash-prefixed, etc.)
 *
 * Note: This simplified logic ensures that only explicit issue references
 * trigger direct execution. All other inputs go through interactive mode
 * for requirement clarification.
 */
export declare function isDirectTask(input: string): boolean;
export declare function resolveSlashFallbackTask(args: string[], knownCommands: string[]): string | null;
export declare function resolveRemovedRootCommand(args: string[]): string | null;
export declare function resolveWorkflowCliOption(opts: Record<string, unknown>): string | undefined;
//# sourceMappingURL=helpers.d.ts.map