/** * Template Discovery Utility * * Discovers and reads metadata from config templates in the config-templates/ directory. */ /** * Metadata for a config template */ export interface TemplateMetadata { /** Template filename (e.g., "typescript-nodejs.yaml") */ filename: string; /** Display name extracted from header comment (e.g., "TypeScript for Node.js") */ displayName: string; /** Short description extracted from template (e.g., "Node.js apps, APIs, and backend services") */ description: string; } /** * Discover all available config templates * * Scans the config-templates/ directory and extracts metadata from each template. * Results are sorted alphabetically by filename. * * @returns Array of template metadata */ export declare function discoverTemplates(): TemplateMetadata[]; /** * Format template list for CLI output * * Creates a human-readable list of templates with descriptions. * * Example output: * ``` * • typescript-library.yaml - TypeScript libraries and npm packages * • typescript-nodejs.yaml - Node.js apps, APIs, and backend services * ``` * * @returns Formatted template list (one template per line) */ export declare function formatTemplateList(): string[]; //# sourceMappingURL=template-discovery.d.ts.map