/** * External tool import functionality * Imports work items from GitHub, JIRA, Azure DevOps */ import { WIZARD_BACK } from './wizard-navigation.js'; import { CoordinatorResult } from '../../../importers/import-coordinator.js'; import type { SupportedLanguage } from '../../../core/i18n/types.js'; import { groupItemsByExternalContainer, groupAdoItemsByParentHierarchy, groupNonHierarchyItems, type ContainerGroup } from './external-import-grouping.js'; /** * Prompt user and run external tool import * Detects GitHub/JIRA/ADO configuration and imports work items * * @param targetDir - Project directory * @param isCI - Whether running in CI mode * @param language - Language for translations * @returns Import result */ export interface ImportOptions { /** Run import in background (non-blocking) */ background?: boolean; /** Estimated total items for progress tracking */ estimatedTotal?: number; /** Skip confirmation prompts */ skipPrompts?: boolean; } export declare function promptAndRunExternalImport(targetDir: string, isCI: boolean, language?: SupportedLanguage, options?: ImportOptions): Promise; /** * Background import result (when running async) */ export interface BackgroundImportResult { jobId: string; isBackground: true; pid?: number; message: string; /** Signal to go back to previous step */ goBack?: typeof WIZARD_BACK; } export declare const __test__: { groupAdoItemsByParentHierarchy: typeof groupAdoItemsByParentHierarchy; groupItemsByExternalContainer: typeof groupItemsByExternalContainer; groupNonHierarchyItems: typeof groupNonHierarchyItems; }; export type { ContainerGroup }; //# sourceMappingURL=external-import.d.ts.map