import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import { ModalDirective, ModalOptions } from 'ngx-bootstrap';
import { RcEventBusService } from '../../../rc-utils/rc-event-bus/rc-event-bus.service';
/**
* Rc popup wrapper component - open a popup with received content once its loaded - currently uses ngx-bootstrap popup
*
* @example
*
* Some popup content
*
*
* @example with template for close button
*
*
* Some popup content
*
*/
export declare class RcPopupWrapperComponent implements AfterViewInit, OnDestroy, OnChanges {
private eventBus;
modal: ModalDirective;
closeBtn: ElementRef;
/**
* Show / Hide close button
*/
showCloseButton: boolean;
/**
* Accessibility - aria-label of close button
*/
closeDialogButtonAriaLabel: string;
/**
* Accessibility - end of dialog aria-label
*/
endOfDialogText: string;
/**
* display header section
*/
showHeaderSection: true;
/**
* custom popup wrapper class
*/
customClass: string;
/**
* can close popup
*/
canClose: boolean;
/**
* close callback
*/
closeCallback: EventEmitter;
focusOutOfPopupEnd: EventEmitter;
config: ModalOptions;
id: number;
_show: boolean;
show: boolean;
ngOnChanges(changes: SimpleChanges): void;
constructor(eventBus: RcEventBusService);
/**
* Once component is instantiated, call openModal function
*/
ngAfterViewInit(): void;
ngOnDestroy(): void;
/**
* attach on hide callback and emit if received output function
*/
openModal(): void;
/**
* set init focus to close button
*/
setFocus(): void;
/**
* close dialog
*/
close(): void;
/**
* on popup hide
*/
onHide(): void;
/**
* on end of dialog blur
* @param $event
*/
dialogEndBlur($event: any): void;
/**
* get close dialog label text
* @returns string
*/
getCloseDialogButtonAriaLabel(): string;
/**
* get end of dialog label text
* @returns string
*/
getEndOfDialogText(): string;
renderContent(): any;
}