/** * Dashboard API — predefined prompts CRUD + thread message injection. * * GET /api/prompts → { prompts: [{label, text, isStartup}] } * POST /api/prompts → { prompts } → normalize+persist → { ok, prompts } * POST /api/threads/:id/inject → { text } → append operator-shaped message → { ok } */ import { type RouteHandler } from "./types.js"; /** GET /api/prompts → { prompts: [{label, text, isStartup}] } */ export declare const handleGetPrompts: RouteHandler; /** POST /api/prompts → { prompts } → normalize+persist → { ok, prompts } */ export declare const handlePostPrompts: ({ req, json }: import("./types.js").RouteArgs) => Promise; /** * POST /api/threads/:id/inject → { text } → append an operator-shaped message. * The message is written straight to the thread's JSONL broker file so the * agent's wait loop delivers it as if the operator had typed it. */ export declare function handleInjectThreadMessage({ req, json, db }: Parameters[0], threadId: number): Promise; //# sourceMappingURL=prompts.d.ts.map