import { type Placement, type MiddlewareData } from '@floating-ui/dom';
export declare class DropdownPortalManager {
    private portalContainer;
    private measuredPanelHeight;
    private component;
    private clonedPanel;
    private cleanupAutoUpdate;
    private currentPlacement;
    private currentMiddlewareData;
    private boundHandleWindowResize;
    constructor(component: any);
    private createPortalAppendContainer;
    positionPortalAppend(): void;
    private measurePanelHeight;
    private computeFloatingUIPosition;
    private calculateFloatingUIPosition;
    private getInitialPlacement;
    private createFloatingUIMiddleware;
    private handleSizeMiddleware;
    private getFallbackPlacements;
    private createCustomPlatform;
    private applyFloatingUIPosition;
    private fallbackPositioning;
    private calculateAndSetAutoSizeProperties;
    updatePortalAppendPosition(): void;
    handleWindowResize(): void;
    private setupAutoUpdatePositioning;
    private cleanupAutoUpdatePositioning;
    private injectStylesToDocument;
    private adoptStylesToPortalAppend;
    setupPortalAppend(): void;
    private createPortalPanel;
    private setupPortalEventListeners;
    cleanupPortalAppend(): void;
    get portalContainerElement(): HTMLElement | null;
    resetMeasuredHeight(): void;
    forceReposition(): void;
    getCurrentPlacement(): Placement;
    getCurrentMiddlewareData(): MiddlewareData | null;
    isUsingFloatingUI(): boolean;
    isPositioningOptimal(): boolean;
    updatePortalPanel(): void;
}
