/** * Integration detection configuration. * * This module previously held hardcoded INTEGRATION_CONFIG and INTEGRATION_ORDER. * These are now provided by the auto-discovery registry (src/lib/registry.ts). * * This file is kept for backwards compatibility — functions that previously * used INTEGRATION_CONFIG now delegate to the registry. */ import type { InstallerOptions } from '../utils/types.js'; /** * @deprecated Use registry.detectionOrder() + config.detection.detect() instead. * This type is kept for any code that still references it. */ export type IntegrationConfig = { name: string; filterPatterns: string[]; ignorePatterns: string[]; detect: (options: Pick) => Promise; generateFilesRules: string; filterFilesRules: string; docsUrl: string; nextSteps: string; defaultChanges: string; }; /** * Legacy detection configs for existing JS integrations. * Used by clack-utils.ts for abort/cancel messages. * New integrations do NOT need to be added here. */ export declare const INTEGRATION_CONFIG: Record;