import { PolarCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { HTTPValidationError } from "../models/errors/httpvalidationerror.js"; import { PaymentMethodInUseByActiveSubscription } from "../models/errors/paymentmethodinusebyactivesubscription.js"; import { PolarError } from "../models/errors/polarerror.js"; import { ResourceNotFound } from "../models/errors/resourcenotfound.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { CustomerPortalCustomersDeletePaymentMethodRequest, CustomerPortalCustomersDeletePaymentMethodSecurity } from "../models/operations/customerportalcustomersdeletepaymentmethod.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Delete Customer Payment Method * * @remarks * Delete a payment method from the authenticated customer. */ export declare function customerPortalCustomersDeletePaymentMethod(client: PolarCore, security: CustomerPortalCustomersDeletePaymentMethodSecurity, request: CustomerPortalCustomersDeletePaymentMethodRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=customerPortalCustomersDeletePaymentMethod.d.ts.map