import type { configType, callbackFntype, callbackEventType } from './types'; export declare class OnrampWebSDK { _appURL: string; _isVisible: boolean; _originalBodyOverflow: string | null; _clientCallbacks: { [key: string]: callbackFntype; }; config: configType; _domNodes: { body: HTMLBodyElement | null; iframe: HTMLIFrameElement; overlay: HTMLDivElement | null; shadow: ShadowRoot | null; shadowHost: HTMLDivElement | null; container: Element | null; }; constructor(config: configType); _getURL(): Promise; _registerSDKEvents(): void; _teardownSDKEvents(): void; _handleEscapeClick: (event: { key: string; keyCode: number; }) => void; _widgetMessageHandler: (e: callbackEventType) => void; _widgetCloseRequestHandler: () => void; _widgetCloseHandler: () => void; _widgetCloseCancelHandler: () => void; _widgetReadyHandler: () => void; _widgetFailedHandler: () => void; close: () => void; show: () => Promise; on: (eventType: string, callbackFn: callbackFntype) => void; }