/**
 * POST /api/terminal
 *
 * Creates a new interactive PTY session rooted at the given working
 * directory. Returns `{ sessionId, shell, cwd }`. The client then opens
 * an SSE stream at `/api/terminal/[id]/stream` and posts input to
 * `/api/terminal/[id]/input`.
 */
import type { NextRequest } from 'next/server';
export declare const dynamic = "force-dynamic";
export declare function POST(request: NextRequest): Promise<Response>;
//# sourceMappingURL=route.d.ts.map