import { ConfigService } from '@nestjs/config'; import { Repository } from 'typeorm'; import { Subscription } from './entities/subscription.entity'; import { Transaction, PaymentProvider } from './entities/transaction.entity'; import { Tenant } from '../auth/entities/tenant.entity'; import { MailService } from '../common/mail.service'; export declare class BillingService { private subscriptionRepository; private transactionRepository; private tenantRepository; private configService; private mailService; private readonly logger; constructor(subscriptionRepository: Repository, transactionRepository: Repository, tenantRepository: Repository, configService: ConfigService, mailService: MailService); getIframeId(): string; getSubscription(tenantId: string): Promise; processSuccessfulPayment(externalTxId: string, provider: PaymentProvider, amount: number, metadata: any): Promise; private upgradeTenantPlan; getTransactionHistory(tenantId: string): Promise; }