/**
 * Case Routes — admin surface for the Plan 54 case library + graph.
 *
 * Endpoints (all under `/api/cases`):
 *   GET    /                   list cases (filters: status, tag, level)
 *   POST   /                   save a case (rejects published; use /publish)
 *   GET    /:caseId            fetch one
 *   DELETE /:caseId            remove
 *   POST   /:caseId/publish    advance to published (double-control gate)
 *   POST   /:caseId/archive    drop trace artifact, keep metadata
 *   GET    /edges              list all edges
 *   POST   /edges              add or replace an edge
 *   GET    /edges/:caseId      get edges from this case (`?direction=in|out|both`)
 *   DELETE /edges/:edgeId      remove an edge
 *
 * Recall (`recall_similar_case`) lives on the MCP side. This route
 * is operator-side only.
 *
 * @module caseRoutes
 */
import { Router, type Router as ExpressRouter } from 'express';
import { CaseLibrary } from '../services/caseLibrary';
import { CaseGraph } from '../services/caseGraph';
/** Test/factory hook. Pass explicit stores; default singletons
 * point at `backend/logs/case_library.json` + `case_graph.json`. */
export declare function createCaseRoutes(library?: CaseLibrary, graph?: CaseGraph): ExpressRouter;
declare const caseRoutes: Router;
export default caseRoutes;
//# sourceMappingURL=caseRoutes.d.ts.map