import { ElementRef, EventEmitter, OnDestroy } from "@angular/core"; import { AutoPlacementOptions, Boundary, Placement } from "@floating-ui/dom"; import { DropdownAttachTo } from "../common-types"; import * as i0 from "@angular/core"; export declare class DropdownDirective implements OnDestroy { protected element: ElementRef; protected static active: DropdownDirective; protected opened: boolean; protected disabled: boolean; /** * Determines if the dropdown should be closed even if we click inside it */ closeInside: boolean; /** * Determines where the floating element needs to be placed */ attachTo: DropdownAttachTo; /** * Determines the boundary element of the floating element when shifting */ boundary: Boundary; /** * Where to place the floating element relative to the reference element. */ placement: Placement; /** * Optimizes the visibility of the floating element by choosing the placement * that has the most space available automatically, without needing to specify a * preferred placement. Alternative to `flip`. * @see https://floating-ui.com/docs/autoPlacement */ autoPlacement: AutoPlacementOptions; /** * Determines if the dropdown content should be displayed in a fixed full screen view under this window width * @default 0 */ mobileViewUnder: number; /** * Determines if the dropdown content should always be displayed in a fixed full screen view * @default false */ fixed: boolean; /** * Determines if the dropdown should react to keys to close like 'Esc' * @default true */ keyboardHandler: boolean; onShown: EventEmitter; onHidden: EventEmitter; onKeyboard: EventEmitter; contentElement: HTMLElement; private readonly onClick; private readonly onKeyDown; get nativeElement(): HTMLElement; get isOpened(): boolean; get getDisabled(): boolean; set isDisabled(value: boolean); constructor(element: ElementRef); ngOnDestroy(): void; showEvent(): void; hideEvent(): void; show($event?: Event): boolean; hide(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }