import { AddCardsDto, UpdateCardDto } from './dto/card.dto';
import { DbService } from 'src/db/db.service';
import { CommonService } from 'src/common/common.service';
import * as mongoose from 'mongoose';
import { StripeService } from 'src/common/helpers/stripe.service';
export declare class CardService {
    private readonly model;
    private readonly commonService;
    private readonly stripeService;
    constructor(model: DbService, commonService: CommonService, stripeService: StripeService);
    create(body: AddCardsDto, req: any): Promise<{
        data: {
            id: string;
            brand: string;
            last4: string;
            exp_month: number;
            exp_year: number;
        };
    }>;
    findAll(payload: any): Promise<{
        data: {
            payment_method_id: string;
            brand: string;
            last4: string;
            exp_month: number;
            exp_year: number;
        }[];
    }>;
    findOne(id: string): Promise<{
        data: mongoose.Document<unknown, {}, import("./schema/cards.schema").Cards, {}, {}> & import("./schema/cards.schema").Cards & {
            _id: mongoose.Types.ObjectId;
        } & {
            __v: number;
        };
    }>;
    update(id: string, updateCardDto: UpdateCardDto, req: any): Promise<{
        message: any;
    }>;
    remove(id: string, req: any): Promise<{
        message: any;
    }>;
    setup_intent(req: any): Promise<{
        clientSecret: string;
    }>;
}
