/** * Kern Template Catalog — built-in templates for popular libraries * * `kern init-templates` reads package.json, matches against this catalog, * and scaffolds template .kern files for detected libraries. * * Any AI assistant just runs `kern init-templates` and the project is ready. */ export interface CatalogEntry { /** npm package name that triggers this template */ packageName: string; /** Human-friendly library name */ libraryName: string; /** Template files to scaffold: filename → content */ templates: Record; } export declare const TEMPLATE_CATALOG: CatalogEntry[]; /** Always-included templates (framework-agnostic patterns) */ export declare const COMMON_TEMPLATES: Record; /** * Detect which catalog entries match a project's package.json. */ export declare function detectTemplates(packageJson: { dependencies?: Record; devDependencies?: Record; }): CatalogEntry[];