import { EventEmitter } from '../../stencil-public-runtime'; import { OVERLAY_TYPE } from '../../common/interfaces/ui'; import { ICustomGoogleAnalyticsConfig } from '@progleasing/grit-universal-analytics'; export declare class GritOverlayContainer { private gritOverlay; host: HTMLGritWcOverlayContainerElement; /** Sets how the overlay component will render in the ui. */ type: OVERLAY_TYPE; /** * If true, the modal will be rendered with it's animation * in the ui. */ showOverlay: boolean; /** * If true, the modal will have a cross button to close the modal * in the upper right corner. */ showCloseButton: boolean; /** * If true, overflow-y scroll bar will be displayed * */ fixScrollBar: boolean; /** * If it's set to false, no event will be pushed into Google Analytics. */ analyticsEnabled: boolean; /** * It's the custom event to be passed into the * `GoogleAnalytics.getInstance().pushCustomEvent()` function. * * When the overlay closes it will also push this event to the Google Tag Manager. * In this case, the eventAction will be the `close overlay ${analyticsCustomObj.eventAction}` */ analyticsCustomObj: ICustomGoogleAnalyticsConfig; /** * Name to be used as identifier of the overlay. */ name: string; /** * If it is set to true, no personally identifiable information will be pushed into Google Analytics. */ pii: boolean; /** Target to append the overlay, can be body, and id or null */ parentSelector: string; appendOverlay(newValue: any): void; emitState(show: boolean): void; /** Fires immediately after showOverlay property changes if the modal isn't being displayed. */ willOpen: EventEmitter; /** Fires immediately after the component completes the update if the modal is being displayed. */ isOpen: EventEmitter; /** Fires immediately after showOverlay property changes if the modal is being displayed. */ willClose: EventEmitter; /** Fires immediately after the component completes the update if the modal isn't being displayed. */ isClosed: EventEmitter; /** Fires on backdrop click. */ backdropClicked: EventEmitter; /** Return a promise so as to wait for close animation to finish before removing modal from ui. */ componentWillUpdate(): Promise; componentDidUpdate(): void; /** Method to display modal in ui. */ openOverlay(): Promise; /** Method to remove modal from ui. */ closeOverlay(): Promise; private removeContainerPadding; private setScrollableContainer; private handleBackdropClick; private handleCloseButtonClick; private setCloseAnimation; private getOverlayElementRef; private getEventLabelName; private googleAnalyticsEvent; render(): any; }