/** * Dashboard API — Copilot provider settings and BYOK (OpenRouter/DeepSeek/Kimi). * * Kept in its own module so the Copilot/BYOK surface stays isolated from the * generic settings handlers. The API key is never echoed back — GET reports * only whether one is set. */ import { type RouteHandler } from "./types.js"; export declare const handleGetCopilot: RouteHandler; export declare const handlePostCopilot: RouteHandler; /** * Verify the BYOK connection by listing models from the provider, using the * values POSTed from the form (baseUrl, providerType, apiKey) so the user can * test BEFORE saving. Any field omitted or blank falls back to the stored * config — an empty apiKey keeps the previously saved key so it isn't echoed to * the browser. Request shape and headers are provider-aware (openai/azure/ * anthropic). Returns model ids on success, a descriptive error otherwise. */ export declare const handlePostCopilotModels: RouteHandler; //# sourceMappingURL=copilot.d.ts.map