/** * @description Defines the configuration for the dynamic ImportModule using ConfigurableModuleBuilder. */ import { ModuleMetadata, Type } from '@nestjs/common'; import { ImportEntityProfile, IZipFinalizationHook } from './interface'; export declare const IMPORT_STRATEGY_MAP = "ImportStrategyMapInjectToken"; export declare const PROCESS_STRATEGY_MAP = "ProcessStrategyMapInjectToken"; export declare const ZIP_FINALIZATION_HOOKS = "ZipFinalizationHooksInjectToken"; /** Injected value: map from `tableName` to publish mode — see `import-publish.ts`. */ export declare const PUBLISH_MODE_MAP = "PublishModeMapInjectToken"; /** * The main options object for the ImportModule's `register` method. */ export interface ImportModuleOptions { /** * (Required) An array of profiles, where each profile defines the complete * import configuration for a specific entity. */ profiles: ImportEntityProfile[]; /** * (Optional) An array of modules that export the providers needed by the * classes in the profiles */ imports?: ModuleMetadata['imports']; /** * (Optional) Enables the built-in `/import` and `/import/csv` endpoints. */ enableController?: boolean; /** * (Optional) Array of ZIP finalization hooks that execute after ZIP import completes. * Hooks run in parallel and errors are logged without failing the job. */ zipFinalizationHooks?: Type[]; } export declare const ConfigurableModuleClass: import("@nestjs/common").ConfigurableModuleCls, MODULE_OPTIONS_TOKEN: string | symbol, OPTIONS_TYPE: ImportModuleOptions & Partial<{ profiles: ImportEntityProfile[]; }>;