/** * Template Home Directory Manager. * * On first run, copies all built-in MDX templates to ~/.mcp-subagents-opencode/templates/ * so users can edit them. The template loader reads from the home directory first, * falling back to the built-in templates if a file is missing or the directory doesn't exist. */ /** Home directory for user-editable templates. */ export declare const TEMPLATES_HOME: string; /** * Ensure the home templates directory exists and is populated. * Only copies files that don't already exist (preserves user edits). * @param builtinDir - Path to the built-in templates directory (build/templates/). */ export declare function initTemplateHome(builtinDir: string): { created: number; skipped: number; homeDir: string; }; /** * Try to load a template from the home directory first, then fall back to built-in. * Returns null if not found in either location. */ export declare function loadTemplateWithFallback(builtinPath: string): string | null; //# sourceMappingURL=template-home.d.ts.map