/** * Teleport helps resolving z-index issues of overlapping popup elements. * Initiate it in your component's connectedCallback. * Call activate() to teleport the object. * Call deactivate() to resume the object to its original place. * Call observeDeletion() to activate deleteionObserver. * Call makeSiblingsInert() to add inert attribute to sibling elements. * Call removeInertFromSiblings() to remove inert attribute from sibling elements. */ export declare class Teleport { element: HTMLElement; target: HTMLElement; stub: HTMLElement; teleportId: string; deletionObserver: MutationObserver; get isActive(): boolean; constructor(element: HTMLElement, target?: HTMLElement); activate(): void; deactivate(): void; observeDeletion(): void; makeSiblingsInert(): void; removeInertFromSiblings(delay?: number): void; private _isTeleportSkipped; private _observeDeletion; private _activate; private _deactivate; private _remove; private readonly skipInert; private _makeSiblingsInert; private _removeInertFromSiblings; /** * If the teleported element or its component (observed via stub) is removed from DOM, clean up the teleport. */ private _deletionObserverCallback; }