import type { NextApiRequest, NextApiResponse } from 'next';
import type * as v from 'valibot';
/**
 * Vercel API handler for exchanging OAuth tokens
 * Base function handles all common concerns automatically
 */
declare const exchangeToken: (customSchema?: v.BaseSchema<unknown, any, v.BaseIssue<unknown>>) => (req: NextApiRequest, res: NextApiResponse) => Promise<void>;
export default exchangeToken;
