/**
 * src/server/routes/specs.ts — Spec CRUD endpoints for Planu HTTP API
 *
 * SPEC-610: REST endpoints for spec lifecycle management.
 * Imports from src/core/index.ts (transport-agnostic engine layer).
 *
 * Endpoints:
 *   POST   /api/specs              → create spec
 *   GET    /api/specs              → list specs (query: ?status=draft)
 *   GET    /api/specs/:id          → get spec details
 *   PATCH  /api/specs/:id/status   → update status
 *   POST   /api/specs/:id/validate → validate spec
 */
import type { HttpRouteContext } from '../../types/index.js';
/**
 * POST /api/specs
 * Body: { title: string; description: string }
 */
export declare function handleCreateSpec(ctx: HttpRouteContext): Promise<void>;
/**
 * GET /api/specs
 * Query: ?status=draft (optional)
 */
export declare function handleListSpecs(ctx: HttpRouteContext): Promise<void>;
/**
 * GET /api/specs/:id
 */
export declare function handleGetSpec(ctx: HttpRouteContext): Promise<void>;
/**
 * PATCH /api/specs/:id/status
 * Body: { status: SpecStatus }
 */
export declare function handleUpdateSpecStatus(ctx: HttpRouteContext): Promise<void>;
/**
 * POST /api/specs/:id/validate
 */
export declare function handleValidateSpec(ctx: HttpRouteContext): Promise<void>;
//# sourceMappingURL=specs.d.ts.map