/**
 * @fileoverview Refresh subscription status API handler
 * @description Vercel API route for refreshing user subscription status
 *
 * @version 0.1.0
 * @since 0.0.1
 * @author AMBROISE PARK Consulting
 */
import * as v from 'valibot';
import type { NextApiRequest, NextApiResponse } from 'next';
import type Stripe from 'stripe';
/**
 * Vercel API handler for refreshing subscription status
 * Base function handles all common concerns automatically
 */
declare const refreshSubscriptionStatus: (customSchema?: v.BaseSchema<unknown, any, v.BaseIssue<unknown>>) => (req: NextApiRequest, res: NextApiResponse) => Promise<{
    success: boolean;
    subscription: null;
    message: string;
} | {
    success: boolean;
    subscription: {
        tier: string;
        subscriptionId: string;
        customerId: string | Stripe.Customer | Stripe.DeletedCustomer;
        status: Stripe.Subscription.Status;
        currentPeriodEnd: string;
    };
    message: string;
}>;
export default refreshSubscriptionStatus;
