/** * Config-surface endpoints powering the dashboard settings screens. * Reads come from the on-disk cortex.yaml; writes go to the `.local.yaml` * overlay when one exists so they survive base-config rewrites. * * Toggles + schedule edits hot-reload the running server so changes * take effect immediately. Wizard applies are routed through * `routes/wizards.ts` instead. * * - GET /api/config — full cortex.yaml (raw + parsed) * - GET /api/config/adapters — all adapters with enabled state * - GET /api/config/adapters/:id — one adapter's current config * - POST /api/config/adapters/:id/toggle — flip enabled bit + hot-reload * - POST /api/config/adapters/:id/schedule — patch cron expression + hot-reload * - GET /api/config/providers — all providers with enabled state * - GET /api/config/providers/:id — one provider's current config * - POST /api/config/providers/:id/toggle — flip enabled bit + hot-reload */ import type { IncomingMessage, ServerResponse } from "node:http"; import type { RouteContext } from "../route-context.js"; export declare function handle(req: IncomingMessage, res: ServerResponse, ctx: RouteContext): Promise; //# sourceMappingURL=config.d.ts.map