import type { StripeBackConfig } from '@donotdev/core/server';
import type { NextApiRequest, NextApiResponse } from 'next';
/**
 * Create Vercel webhook handler from billing config
 *
 * @version 0.1.0
 * @since 0.0.1
 * @author AMBROISE PARK Consulting
 */
export declare function createStripeWebhook(billingConfig: StripeBackConfig): (req: NextApiRequest, res: NextApiResponse) => Promise<void>;
/**
 * Next.js API route configuration
 *
 * @version 0.1.0
 * @since 0.0.1
 * @author AMBROISE PARK Consulting
 */
export declare const config: {
    api: {
        bodyParser: boolean;
    };
};
