import type { IncomingMessage as HttpRequest, ServerResponse } from "node:http"; import { type ParsedRoute } from "./route-helpers.js"; import type { ApiContext } from "./api.js"; /** Exported so the auth-namespace test asserts against the prefix this router * actually mounts under, rather than against a literal that could drift from it. * Everything below `/api/` reaches the gateway's auth gate; a top-level route * would not, and would be served to anyone who can reach the port. */ export declare const PLUGIN_ROUTE_PREFIX = "/api/plugins/"; /** `/api/plugins*` routes. See route-helpers.ts for the domain-module contract. */ export declare function handlePluginsApi(req: HttpRequest, res: ServerResponse, route: ParsedRoute, context: ApiContext): Promise; //# sourceMappingURL=plugins-api.d.ts.map