import { PaymentsService } from './payments.service';
import { CreatePaymentDto } from './dto/create-payment.dto';
export declare class PaymentsController {
    private readonly paymentsService;
    constructor(paymentsService: PaymentsService);
    create(createPaymentDto: CreatePaymentDto): Promise<{
        success: boolean;
        paymentId: any;
        method: string;
        redirectUrl: string;
    } | {
        success: boolean;
        paymentId: any;
        method: string;
        redirectUrl: any;
        message?: undefined;
    } | {
        success: boolean;
        message: string;
        paymentId?: undefined;
        method?: undefined;
        redirectUrl?: undefined;
    }>;
    findAll(): import(".prisma/client").Prisma.PrismaPromise<({
        order: {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            customerName: string;
            customerEmail: string;
            customerPhone: string;
            shippingAddress: import("@prisma/client/runtime/library").JsonValue;
            billingAddress: import("@prisma/client/runtime/library").JsonValue | null;
            discount: import("@prisma/client/runtime/library").Decimal;
            status: import(".prisma/client").$Enums.OrderStatus;
            orderNumber: string;
            customerId: string | null;
            subTotal: import("@prisma/client/runtime/library").Decimal;
            tax: import("@prisma/client/runtime/library").Decimal;
            shippingCost: import("@prisma/client/runtime/library").Decimal;
            total: import("@prisma/client/runtime/library").Decimal;
            paymentStatus: import(".prisma/client").$Enums.PaymentStatus;
        };
    } & {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        status: import(".prisma/client").$Enums.PaymentStatus;
        method: string;
        orderId: string;
        amount: import("@prisma/client/runtime/library").Decimal;
        transactionId: string | null;
        gatewayResponse: import("@prisma/client/runtime/library").JsonValue | null;
    })[]>;
    findOne(id: string): Promise<{
        order: {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            customerName: string;
            customerEmail: string;
            customerPhone: string;
            shippingAddress: import("@prisma/client/runtime/library").JsonValue;
            billingAddress: import("@prisma/client/runtime/library").JsonValue | null;
            discount: import("@prisma/client/runtime/library").Decimal;
            status: import(".prisma/client").$Enums.OrderStatus;
            orderNumber: string;
            customerId: string | null;
            subTotal: import("@prisma/client/runtime/library").Decimal;
            tax: import("@prisma/client/runtime/library").Decimal;
            shippingCost: import("@prisma/client/runtime/library").Decimal;
            total: import("@prisma/client/runtime/library").Decimal;
            paymentStatus: import(".prisma/client").$Enums.PaymentStatus;
        };
    } & {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        status: import(".prisma/client").$Enums.PaymentStatus;
        method: string;
        orderId: string;
        amount: import("@prisma/client/runtime/library").Decimal;
        transactionId: string | null;
        gatewayResponse: import("@prisma/client/runtime/library").JsonValue | null;
    }>;
    sslcommerzSuccess(data: any, res: any): Promise<any>;
    sslcommerzFail(data: any, res: any): Promise<any>;
    sslcommerzCancel(data: any, res: any): Promise<any>;
}
