/** * Core import-tasks logic — import tasks from cross-project export packages. * * Extracted from CLI import-tasks command for dispatch layer access. * * @task T5323, T5328, T046 * @epic T4545 */ import type { AdminImportParams } from '@cleocode/contracts'; import type { ImportFromPackageOptions, ImportFromPackageResult } from '../nexus/transfer-types.js'; import type { ExportPackage } from '../store/export.js'; export interface ImportTasksResult { imported: number; skipped: number; idRemap: Record; dryRun?: boolean; preview?: { tasks: Array<{ id: string; title: string; type: string; }>; }; } /** * Import tasks from an in-memory ExportPackage with ID remapping. * Core logic extracted from importTasksPackage for reuse by transfer engine. */ export declare function importFromPackage(exportPkg: ExportPackage, options?: ImportFromPackageOptions): Promise; /** * Import tasks from a cross-project export package file with ID remapping. * Thin wrapper around importFromPackage that handles file I/O. */ export declare function importTasksPackage(projectRoot: string, params: AdminImportParams): Promise; //# sourceMappingURL=import-tasks.d.ts.map