/** * CheckCatalog — prebuilt integration check definitions for known failure patterns. * * Every check here catches a bug that compiles clean but breaks at runtime. * Organized by framework/category. Each check specifies a CheckStrategy * that the CheckExecutor can run deterministically (no LLM needed). * * Tier 1: Uses existing executor strategies — ready to execute today. * Tier 2: Needs new strategy executor — documented, not yet runnable. * * Usage: * const checks = getCatalogChecks({ frameworks: ['electron', 'react'] }); * for (const check of checks) { * await checkStore.save(check); * } */ import type { IntegrationCheckDefinition } from './types.js'; export interface CatalogEntry extends IntegrationCheckDefinition { /** Human-readable explanation of what this check catches and why it matters. */ readonly description: string; /** 1 = executor exists, 2 = needs new strategy executor. */ readonly tier: 1 | 2; /** Grouping category for display and filtering. */ readonly category: string; /** Skip this check when any of these frameworks are detected. */ readonly excludeFrameworks?: readonly string[]; } /** * Get prebuilt checks from the catalog, optionally filtered by framework. * * @param opts.frameworks Only return checks relevant to these frameworks. * If omitted, returns all checks. * @param opts.tier Only return checks of this tier (1 = executable, 2 = needs strategy). * If omitted, returns both tiers. */ export declare function getCatalogChecks(opts?: { frameworks?: string[]; tier?: 1 | 2; }): CatalogEntry[]; /** Summary statistics for the catalog. */ export declare function getCatalogStats(): { total: number; tier1: number; tier2: number; byCategory: Record; byFramework: Record; };