import { type Template, localTemplatesData, } from "../../shared/templates"; import log from "electron-log"; const logger = log.scope("template_utils"); // Get all templates (local only - API templates removed) export async function getAllTemplates(): Promise { return [...localTemplatesData]; } export async function getTemplateOrThrow( templateId: string, ): Promise