import { PolarCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { CustomerPaymentMethodCreate } from "../models/components/customerpaymentmethodcreate.js";
import { CustomerPaymentMethodCreateResponse } from "../models/components/customerpaymentmethodcreateresponse.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
import { HTTPValidationError } from "../models/errors/httpvalidationerror.js";
import { PaymentMethodSetupFailed } from "../models/errors/paymentmethodsetupfailed.js";
import { PolarError } from "../models/errors/polarerror.js";
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
import { CustomerPortalCustomersAddPaymentMethodSecurity } from "../models/operations/customerportalcustomersaddpaymentmethod.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
/**
 * Add Customer Payment Method
 *
 * @remarks
 * Add a payment method to the authenticated customer.
 */
export declare function customerPortalCustomersAddPaymentMethod(client: PolarCore, security: CustomerPortalCustomersAddPaymentMethodSecurity, request: CustomerPaymentMethodCreate, options?: RequestOptions): APIPromise<Result<CustomerPaymentMethodCreateResponse, PaymentMethodSetupFailed | HTTPValidationError | PolarError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
//# sourceMappingURL=customerPortalCustomersAddPaymentMethod.d.ts.map