/** * Import Strategy Prompter * * Provides CLI-first UI for selecting import strategy with "Import all" as default. * Supports five strategies (unified with GitHub/ADO): * - import-all (default, recommended) * - pattern-glob (glob pattern matching) * - pattern-regex (regex pattern matching) * - select-specific (checkbox mode with all pre-checked) * - manual-entry (comma-separated project keys) * * @module cli/helpers/import-strategy-prompter */ import { Logger } from '../../utils/logger.js'; /** * Import strategy options */ export type ImportStrategy = 'import-all' | 'pattern-glob' | 'pattern-regex' | 'select-specific' | 'manual-entry'; /** * Strategy prompt result */ export interface StrategyPromptResult { strategy: ImportStrategy; projectKeys?: string[]; pattern?: string; isRegex?: boolean; confirmed?: boolean; } /** * Strategy prompter options */ export interface StrategyPrompterOptions { totalCount: number; provider: 'jira' | 'ado'; logger?: Logger; } /** * Prompt user for import strategy selection * * Default: "Import all" (CLI-first approach) * Instructions: "All projects selected by default. Deselect unwanted projects if needed." * * Unified options (same as GitHub/ADO): * - All (import-all) * - Pattern (glob) * - Pattern (regex) * - Select specific * - Manual entry * * @param options - Prompter options * @returns Strategy prompt result */ export declare function promptImportStrategy(options: StrategyPrompterOptions): Promise; //# sourceMappingURL=import-strategy-prompter.d.ts.map