import type { SpecTemplateEntry, CustomTemplateLoadResult } from '../../types/spec-templates.js';
/**
 * Loads custom templates from a directory. Each .json file is validated.
 * Malformed files generate warnings but do not block loading of other templates.
 */
export declare function loadCustomTemplates(baseDir?: string): Promise<CustomTemplateLoadResult>;
/**
 * Merges custom templates with built-in templates.
 * Custom templates override built-in templates with the same ID.
 */
export declare function mergeTemplates(builtIn: SpecTemplateEntry[], custom: SpecTemplateEntry[]): SpecTemplateEntry[];
//# sourceMappingURL=custom-loader.d.ts.map