/**
 * Automation Plan REST routes.
 *
 *   GET    /api/repos/:repoId/plans            — list plans for a repo
 *   POST   /api/repos/:repoId/plans            — create a plan
 *   GET    /api/plans/:id                       — get a plan
 *   PATCH  /api/plans/:id                       — update plan
 *   DELETE /api/plans/:id                       — delete a plan
 *   POST   /api/plans/:id/generate              — AI-generate tasks
 *   POST   /api/plans/:id/tasks/:taskId/start   — start a single task
 *   POST   /api/plans/:id/start                 — start all approved tasks
 */
import type { FastifyInstance } from "fastify";
import type { AppConfig } from "../config.js";
import type { PlanService } from "../services/plans.js";
import type { RepositoryService } from "../services/repositories.js";
import type { ThreadService } from "../services/threads.js";
import type { ProviderRegistry } from "../providers/registry.js";
import type { UserService } from "../services/users.js";
import type { WsControlPlane } from "../ws.js";
export interface PlanRouteDeps {
    planService: PlanService;
    repoService: RepositoryService;
    threadService?: ThreadService;
    providerRegistry?: ProviderRegistry;
    userService?: UserService;
    ws?: WsControlPlane;
}
export declare function registerPlanRoutes(app: FastifyInstance, config: AppConfig, deps: PlanRouteDeps): void;
//# sourceMappingURL=plans.d.ts.map