/**
 * @fileoverview AI Chat - Vercel Route Handler
 * @description Next.js App Router route handler for AI chat.
 * Uses Vercel AI SDK via shared handleAIRequest.
 *
 * @version 0.1.0
 * @since 0.1.0
 * @author AMBROISE PARK Consulting
 */
import type { AIRouteConfig } from '@donotdev/core/server';
/**
 * Create a Next.js App Router POST handler for AI chat.
 *
 * @param config - AI route configuration
 * @returns `(req: Request) => Promise<Response>` handler
 *
 * @example
 * ```typescript
 * // app/api/ai/chat/route.ts
 * import { createAIChatRoute } from '@donotdev/functions/vercel';
 *
 * export const POST = createAIChatRoute({
 *   provider: 'anthropic',
 *   model: 'claude-sonnet-4-20250514',
 *   cost: { markup: 4.0, monthlyBudgetTokens: 0, showCostToUsers: false, displayCurrency: 'eur' },
 * });
 * ```
 */
export declare function createAIChatRoute(config: AIRouteConfig): (req: Request) => Promise<Response>;
