import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
import { Placement } from '@floating-ui/dom';
import { OverflowMenuOptionComponent } from './overflow-menu-option/overflow-menu-option.component';
import * as i0 from "@angular/core";
export declare class OverflowMenuComponent implements OnInit, AfterContentInit, OnChanges, OnDestroy {
    private readonly _document;
    private readonly _elementRef;
    private readonly _cdr;
    options: QueryList<OverflowMenuOptionComponent>;
    triggerContainer: ElementRef<HTMLElement>;
    menuContainer: ElementRef<HTMLElement>;
    open: boolean;
    placement: Placement;
    menuWidth: number | null;
    offsetX: number;
    offsetY: number;
    closeOnSelect: boolean;
    useHostAsReference: boolean;
    portalToBody: boolean;
    openChange: EventEmitter<boolean>;
    private _cleanupAutoUpdate;
    private _documentClickHandler;
    private _documentKeydownHandler;
    private readonly _destroy$;
    private _optionDestroy$;
    private _portalledPane;
    private _originalParent;
    private _originalNextSibling;
    constructor(_document: Document, _elementRef: ElementRef<HTMLElement>, _cdr: ChangeDetectorRef);
    ngOnInit(): void;
    ngAfterContentInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    ngOnDestroy(): void;
    toggle(event?: Event): void;
    openMenu(): void;
    close(): void;
    onPaneClick(event: Event): void;
    private _portalPane;
    private _unportalPane;
    private _setupPositioning;
    private _cleanupPositioning;
    private _onDocumentClick;
    private _onDocumentKeydown;
    private _subscribeToOptionSelections;
    static ɵfac: i0.ɵɵFactoryDeclaration<OverflowMenuComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<OverflowMenuComponent, "v-overflow-menu", never, { "open": { "alias": "open"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "menuWidth": { "alias": "menuWidth"; "required": false; }; "offsetX": { "alias": "offsetX"; "required": false; }; "offsetY": { "alias": "offsetY"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "useHostAsReference": { "alias": "useHostAsReference"; "required": false; }; "portalToBody": { "alias": "portalToBody"; "required": false; }; }, { "openChange": "openChange"; }, ["options"], ["[overflowTrigger]", "[overflowPane]", "*"], true, never>;
}
//# sourceMappingURL=overflow-menu.component.d.ts.map