/** * Copyright Aquera Inc 2025 * * This source code is licensed under the BSD-3-Clause license found in the * LICENSE file in the root directory of this source tree. */ import { type Placement, type MiddlewareData } from '@floating-ui/dom'; export declare class PortalManager { private portalContainer; private originalListboxParent; private measuredPopupHeight; private component; private cleanupAutoUpdate; private currentPlacement; private currentMiddlewareData; constructor(component: any); private createPortalAppendContainer; positionPortalAppend(): void; private measurePopupHeight; private computeFloatingUIPosition; private calculateFloatingUIPosition; private createFloatingUIMiddleware; private handleSizeMiddleware; private createCustomPlatform; private applyFloatingUIPosition; private fallbackPositioning; private calculateAndSetAutoSizeProperties; updatePortalAppendPosition(): void; handleWindowResize(): void; private setupAutoUpdatePositioning; private cleanupAutoUpdatePositioning; private extractStylesAsCSS; private injectStylesToDocument; private adoptStylesToPortalAppend; setupPortalAppend(): void; cleanupPortalAppend(): void; resetScrollPosition(): Promise; get portalContainerElement(): HTMLElement | null; resetMeasuredHeight(): void; forceReposition(): void; getCurrentPlacement(): Placement; getCurrentMiddlewareData(): MiddlewareData | null; isUsingFloatingUI(): boolean; handleViewportChange(): void; isPositioningOptimal(): boolean; }