import { EventEmitter } from '../../stencil-public-runtime'; import { WidgetConfig } from './amwal-widget'; export declare class AmwalWidgetModal { /** * Widget configuration including price, installments, and URL */ config: WidgetConfig; /** * The language of the plugin. Supported languages are Arabic ("ar") and English ("en") */ locale?: string; /** * Enable debug mode for additional console logs */ debug: boolean; /** * Animation type for modal entrance */ animationType: 'default' | 'slide' | 'zoom' | 'fade'; /** * Disable animations (useful for testing or accessibility) */ disableAnimations: boolean; layoutTheme: 'mobile' | 'desktop'; iframeLoaded: boolean; isVisible: boolean; isClosing: boolean; layoutState: 'mobile' | 'desktop'; modalClose: EventEmitter; private modalRef?; private animationTimeoutId?; /** * Translation function to handle localization * @private */ private t; /** * Lifecycle method that is called once when the component is first created */ componentWillLoad(): Promise; componentDidLoad(): void; disconnectedCallback(): void; /** * Watcher to log layout theme changes for debugging */ onLayoutThemeChange(newValue: 'mobile' | 'desktop'): void; /** * Lifecycle method to update translations when locale changes */ updateLocale(newValue: string): Promise; handleKeyDown(event: KeyboardEvent): void; handlePopState(): void; private closeModal; private handleOverlayClick; private createIframeUrl; private handleIframeLoad; private handleIframeError; private renderAmwalLogo; render(): any; }