import { IframeUserConfiguration, Options, ViewModel } from '../types/types'; import { default as Iframe } from './iframe'; declare class Modal { verificationUrl: string; redirectOnMobile: boolean; overlay: HTMLElement; wrapper: HTMLElement; iframeInstance: Iframe; on: typeof this.iframeInstance.on; once: typeof this.iframeInstance.once; isMobileDevice: boolean; closeButtonText: string; closeButton: HTMLButtonElement; stopPropagation: boolean; constructor(url: string, userConfig: IframeUserConfiguration); createCloseBtn(): HTMLButtonElement; closeModal(): void; static createOverlay(): HTMLElement; createWrapper(): HTMLElement; popStateEventHandler: () => void; addPopStateListener(): void; addFocusListener(): void; isInLightboxPostMessage(inLightbox: string): void; displayModal(): void; init(): void; setViewModel(viewModel: Partial | ViewModel): void; setOptions(options: Options): void; } export default Modal;