import type { IdentityVerificationRequest, IdentityVerificationResponse, IssueBillingKeyAndPayRequest, IssueBillingKeyAndPayResponse, IssueBillingKeyRequest, IssueBillingKeyResponse, LoadIssueBillingKeyUIRequest, LoadPaymentUIRequest, PaymentRequest, PaymentResponse, } from '@portone/browser-sdk/v2' import { createSdkDelegate, createSdkUIDelegate, PortOneUIController, type SdkDelegate, type SdkUIDelegate, } from './SdkDelegate' export type PaymentUIController = PortOneUIController export const PaymentUI: SdkUIDelegate< LoadPaymentUIRequest, PaymentResponse, PaymentUIController > = createSdkUIDelegate('loadPaymentUI', 'Payment') export type IssueBillingKeyUIController = PortOneUIController export const IssueBillingKeyUI: SdkUIDelegate< LoadIssueBillingKeyUIRequest, IssueBillingKeyResponse, IssueBillingKeyUIController > = createSdkUIDelegate( 'loadIssueBillingKeyUI', 'IssueBillingKey', ) export const IssueBillingKeyAndPay: SdkDelegate< IssueBillingKeyAndPayRequest, IssueBillingKeyAndPayResponse > = createSdkDelegate< IssueBillingKeyAndPayRequest, IssueBillingKeyAndPayResponse >('requestIssueBillingKeyAndPay') export const IssueBillingKey: SdkDelegate< IssueBillingKeyRequest, IssueBillingKeyResponse > = createSdkDelegate( 'requestIssueBillingKey' ) export const IdentityVerification: SdkDelegate< IdentityVerificationRequest, IdentityVerificationResponse > = createSdkDelegate< IdentityVerificationRequest, IdentityVerificationResponse >('requestIdentityVerification') export const Payment: SdkDelegate = createSdkDelegate('requestPayment') export type { PortOneController } from './SdkDelegate'