import type { TemplateDefinition } from './types.js';
export interface TemplateCatalog {
    readonly byId: ReadonlyMap<string, TemplateDefinition>;
    readonly all: ReadonlyArray<TemplateDefinition>;
}
export declare function buildTemplateCatalog(templates: ReadonlyArray<TemplateDefinition>): TemplateCatalog;
export declare function normalizeTemplateId(value: string): string;
export declare function getTemplateById(catalog: TemplateCatalog, templateId: string): TemplateDefinition | undefined;
