declare function generateAuthToken(): string; declare function nuveiRequest(path: string, method: "GET" | "POST", body?: Record): Promise; declare function listCards(uid: string): Promise<{ cards: Array<{ bin: string; status: string; token: string; holder_name: string; expiry_year: string; expiry_month: string; transaction_reference: string; type: string; number: string; }>; result_size: number; }>; declare function deleteCard(token: string, uid: string): Promise<{ message: string; }>; declare function refundTransaction(transactionId: string): Promise<{ status: string; detail: string; }>; declare function verifyCard(params: { userId: string; transactionReference: string; value: string; }): Promise<{ transaction?: { status: string; status_detail: number; id: string; message: string | null; }; error?: { type: string; help: string; description: string; }; }>; interface ThreeDSResponse { authentication: { status: string; return_code: string; return_message?: string; cavv?: string; eci?: string; xid?: string; reference_id?: string; }; browser_response: { hidden_iframe?: string; challenge_request?: string; }; sdk_response?: { acs_trans_id?: string; acs_reference_number?: string; }; } interface DebitResponse { transaction?: { status: string; current_status: string; id: string; message: string | null; status_detail: number; authorization_code: string | null; }; card?: { bin: string; type: string; number: string; }; "3ds"?: ThreeDSResponse; error?: { type: string; help: string; description: string; }; } declare function debitWithToken(params: { userId: string; userEmail: string; amount: number; description: string; devReference: string; cardToken: string; /** Obligatorio desde 2.0.0. */ cvc: string; vat?: number; taxableAmount?: number; installments?: number; installmentsType?: number; browserInfo?: { accept_header: string; user_agent: string; language: string; timezone_offset: number; screen_width: number; screen_height: number; color_depth: number; js_enabled: boolean; java_enabled: boolean; ip_address?: string; }; termUrl?: string; }): Promise; interface VerifyThreeDSParams { transactionId: string; userId: string; type: "AUTHENTICATION_CONTINUE" | "BY_CRES" | "BY_OTP"; value?: string; } declare function verifyThreeDS(params: VerifyThreeDSParams): Promise; export { type DebitResponse, type ThreeDSResponse, type VerifyThreeDSParams, debitWithToken, deleteCard, generateAuthToken, listCards, nuveiRequest, refundTransaction, verifyCard, verifyThreeDS };