import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
import Popper from 'popper.js/dist/esm/popper.js';
import { TsPopoverOptions } from './popover-options';
/**
* A popover component that supports rich HTML
*
* @example
*
* My popover content
*
*
* https://getterminus.github.io/ui-demos-release/components/popover
*/
export declare class TsPopoverComponent implements OnDestroy, OnInit {
private CDR;
/**
* The element that passed to popper.js
*/
referenceObject: HTMLElement;
/**
* An instance of popper
*/
popoverInstance: Popper;
/**
* The display type of the popover element
*/
displayType: string;
/**
* The opacity of popover element
*/
opacity: number;
/**
* aria hidden attribute - it requires a string value.
*/
ariaHidden: string;
/**
* Whether the element is visible
*/
visibility: boolean;
/**
* ID set by trigger and pass to popover element
*/
id: string;
/**
* Options needed for popper.js
*/
popoverOptions: TsPopoverOptions;
/**
* A reference to the popover view
*/
popoverViewRef: ElementRef;
/**
* Event emitted when the popover is hidden
*/
readonly onHidden: EventEmitter;
/**
* Event emitted when the popover is updated
*/
readonly onUpdate: EventEmitter;
/**
* Event emitted when the popover is hidden
*/
readonly popoverHidden: EventEmitter;
/**
* Event emitted when the popover is shown
*/
readonly popoverShown: EventEmitter;
constructor(CDR: ChangeDetectorRef);
/**
* Check whether popper.js has been properly imported.
*/
ngOnInit(): void;
/**
* Destroy the instance when component is destroyed.
*/
ngOnDestroy(): void;
/**
* When popover is hidden, destroy the instance, toggle visibility to false and emit onHidden event.
*/
hide(): void;
/**
* When popover is shown, instantiate popper instance, does update and toggle visibility.
*
* @param options - PopoverOptions
*/
show(options: TsPopoverOptions): void;
/**
* When popover is scheduled to be updated, call popper.js scheduleUpdate
*/
scheduleUpdate(): void;
/**
* Based on visibility, adjust visual settings
*
* @param visibility - boolean
*/
toggleVisibility(visibility: boolean): void;
}