/**
 * Feature-scoped chat messages API.
 *
 * POST - Send a user message. Backend handles session lifecycle.
 * GET  - Get chat state: messages + session status + streaming text.
 * DELETE - Clear chat message history for the feature.
 *
 * The frontend never manages sessions — it just sends messages for a feature.
 *
 * `featureId` is a polymorphic scope key: a feature UUID, "repo-<id>", or "global".
 */
import type { NextRequest } from 'next/server';
import { NextResponse } from 'next/server';
export declare const dynamic = "force-dynamic";
interface RouteParams {
    params: Promise<{
        featureId: string;
    }>;
}
export declare function POST(request: NextRequest, { params }: RouteParams): Promise<NextResponse>;
export declare function DELETE(_request: NextRequest, { params }: RouteParams): Promise<NextResponse>;
export declare function GET(_request: NextRequest, { params }: RouteParams): Promise<NextResponse>;
export {};
//# sourceMappingURL=route.d.ts.map