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 { Client } from "@paypal/paypal-server-sdk"; import TimedCache from "@entity-access/entity-access/dist/common/cache/TimedCache.js"; declare class PaypalClientCache { cache: TimedCache; ecs: EncryptionService; getClient(gateway: StorePaymentGateway): Client; } export default class extends LedgerPaymentGateway { ecs: EncryptionService; pc: PaypalClientCache; db: SocialMailContext; createPayment(host: string, gateway: StorePaymentGateway, order: StoreJournal, pa: StorePaymentAttempt): Promise<{ url: string; }>; getStatus(pa: StorePaymentAttempt): Promise<"failed" | "paid">; refund(pa: StorePaymentAttempt): Promise; } export {}; //# sourceMappingURL=paypal.d.ts.map