import type { SimpleConfig } from './simpleTypes.js'; import type { ErrorResponse, FieldUpdateConfig, SuccessResponse, Validation } from './types.js'; export declare class SimpleReverePay { #private; onSuccess?: (successResponse: SuccessResponse) => void; onError?: (error?: ErrorResponse) => void; onLoaded?: () => void; onCheckValidity?: (isValid: Validation) => void; constructor({ merchantId, publicAPIKey, config }: { merchantId: string; publicAPIKey: string; config: SimpleConfig; }); /** * Check inputs validity. */ checkValidity(): void; /** * Clears out all inputs. */ reset(): void; /** * Submit token request. */ submit({ gatewayCustomerId }?: { gatewayCustomerId?: string; }): void; /** * Update field values. */ updateFields(fieldUpdateConfig?: FieldUpdateConfig): void; }