/**
 * Dashboard routes for maintaining generated learning-loop indexes in the selected target project.
 */
import type { IncomingMessage, ServerResponse } from "node:http";
import type { DashboardRouteContext } from "./dashboard-route-types.js";
/**
 * Bind index-maintenance handlers to one dashboard route context. This factory owns route matching
 * because the aggregator probes every handler for every request; non-index paths must return false
 * and method rejection must happen here before any write-side handler runs.
 *
 * @param ctx - per-server dashboard route context
 * @returns route handler bag consumed by the dashboard route aggregator
 */
export declare function createIndexRouteHandlers(ctx: DashboardRouteContext): {
    handleIndexRegenerateRequest: (req: IncomingMessage, url: URL, res: ServerResponse) => Promise<boolean>;
};
//# sourceMappingURL=dashboard-index-routes.d.ts.map