import type { Config, SuccessResponse, ErrorResponse, CSSProperties, PaymentMethod, FieldUpdateConfig, FieldName, Validation } from './types.js'; export declare class AdvancedReverePay { private merchantId; private publicAPIKey; private initRequestOrigin; private accessToken; private reverePay; private sharedCSS; private isValid; private gatewayCustomerId; currentPaymentMethod: PaymentMethod | null; private _email; private hostElement; private config; private initEventsCount; private triggerError; private validation; onSuccess?: (successResponse: SuccessResponse) => void; onError?: (responseStatus: number, validation: Validation, error?: ErrorResponse) => void; onLoaded?: () => void; onCheckValidity?: (validation: Validation) => void; constructor({ merchantId, publicAPIKey, config }: { merchantId: string; publicAPIKey: string; config: Config; }); get email(): string; set email(email: string); checkValidity(): void; /** * Acceptepted globally for the time being. * Pass `null` to **reset** the fields style. * @param css */ updateStyle(css: CSSProperties | null): void; updateFields(fieldUpdateConfig?: FieldUpdateConfig): void; private handleIframeLoad; /** * Clears out all inputs. */ reset(): void; private onCheckValidityHandler; private initialize; private getAccessToken; submit({ gatewayCustomerId }?: { gatewayCustomerId?: string; }): void; focusField(fieldName: FieldName): void; private requestToken; private initPlaidVerification; private setValidation; }