import type { NextApiRequest, NextApiResponse } from 'next';
import type * as v from 'valibot';
/**
 * Vercel API handler for granting GitHub access
 * Base function handles all common concerns automatically
 *
 * @version 0.1.0
 * @since 0.0.1
 * @author AMBROISE PARK Consulting
 */
declare const grantGitHubAccess: (customSchema?: v.BaseSchema<unknown, any, v.BaseIssue<unknown>>) => (req: NextApiRequest, res: NextApiResponse) => Promise<void>;
export default grantGitHubAccess;
