import { Repository } from 'typeorm';
import { BillingService } from './billing.service';
import { Course } from '../course/course.entity';
import { ConfigService } from '@nestjs/config';
import express from 'express';
export declare class BillingController {
    private billing;
    private config;
    private courseRepo;
    constructor(billing: BillingService, config: ConfigService, courseRepo: Repository<Course>);
    checkout(body: {
        courseId: number;
    }, req: any): Promise<{
        url: string | null;
    }>;
    webhook(req: any, signature: string): Promise<{
        received: any;
    }>;
    success(sessionId: string, res: express.Response): Promise<void>;
    cancel(): {
        status: string;
    };
}
