import type { PlanType } from '@bottrade/shared';
export declare function initStripe(): boolean;
export declare function isStripeConfigured(): boolean;
export declare function createCheckoutSession(params: {
    userId: number;
    email: string;
    plan: PlanType;
    billing?: 'monthly' | 'annual';
    successUrl: string;
    cancelUrl: string;
    coupon?: string;
}): Promise<{
    url: string | null;
    error?: string;
}>;
export declare function createPortalSession(stripeCustomerId: string, returnUrl: string): Promise<{
    url: string | null;
    error?: string;
}>;
export declare function handleWebhook(body: Buffer, signature: string): Promise<{
    success: boolean;
    error?: string;
}>;
//# sourceMappingURL=stripe.d.ts.map