import { RawBodyRequest } from '@nestjs/common'; import { ConfigService } from '@nestjs/config'; import { Request } from 'express'; import { StripeService } from './stripe.service'; import { BillingService } from './billing.service'; export declare class WebhooksController { private stripeService; private billingService; private configService; private readonly logger; constructor(stripeService: StripeService, billingService: BillingService, configService: ConfigService); handleStripeWebhook(req: RawBodyRequest, signature: string): Promise<{ received: boolean; error?: undefined; } | { error: string; received?: undefined; }>; }