/** * Dashboard API — custom agent templates. * * A template is a reusable spawn preset (client + working dir + optional system * prompt + optional per-thread MCP servers). CRUD persists to settings.json via * the config layer; `start` stamps out a fresh root thread from a template * (reusing the create-root machinery) which then appears in the Threads tab as * a normal thread. Running threads are never touched. */ import { type RouteArgs } from "./types.js"; /** GET /api/agent-templates — list all templates (header secrets masked) */ export declare function handleGetAgentTemplates(args: RouteArgs): boolean; /** POST /api/agent-templates — create a template */ export declare function handleCreateAgentTemplate(args: RouteArgs): boolean; /** PATCH /api/agent-templates/:id — replace a template (full upsert over the existing id) */ export declare function handleUpdateAgentTemplate(args: RouteArgs, id: string): boolean; /** DELETE /api/agent-templates/:id — remove a template */ export declare function handleDeleteAgentTemplate(args: RouteArgs, id: string): boolean; /** POST /api/agent-templates/:id/start — spawn a fresh root thread from a template */ export declare function handleStartAgentTemplate(args: RouteArgs, id: string): boolean; //# sourceMappingURL=agent-templates.d.ts.map