import { StoreJournal } from "../../../model/entities/StoreJournal.js"; import StorePaymentAttempt from "../../../model/entities/StorePaymentAttempt.js"; import StorePaymentGateway from "../../../model/entities/StorePaymentGateway.js"; import EncryptionService from "../../encryption/EncryptionService.js"; import LedgerPaymentGateway from "../LedgerPaymentGateway.js"; import SocialMailContext from "../../../model/SocialMailContext.js"; import TimedCache from "@entity-access/entity-access/dist/common/cache/TimedCache.js"; import { Cashfree } from "cashfree-pg"; declare class CashfreeClientCache { cache: TimedCache; ecs: EncryptionService; getClient(gateway: StorePaymentGateway): Cashfree; } export default class extends LedgerPaymentGateway { ecs: EncryptionService; pc: CashfreeClientCache; db: SocialMailContext; createPayment(host: string, gateway: StorePaymentGateway, order: StoreJournal, pa: StorePaymentAttempt): Promise<{ content: any; }>; getStatus(pa: StorePaymentAttempt): Promise<"failed" | "paid">; refund(pa: StorePaymentAttempt): Promise; } export {}; //# sourceMappingURL=cashfree.d.ts.map