import * as i0 from '@angular/core'; import { AfterContentInit, OnInit, ViewContainerRef, EventEmitter, AnimationCallbackEvent, TemplateRef, AfterViewInit, OnChanges, ElementRef, SimpleChanges, EmbeddedViewRef } from '@angular/core'; import { NzConfigService, NzConfigKey } from 'ng-zorro-antd/core/config'; import { NzSafeAny, IndexableObject } from 'ng-zorro-antd/core/types'; import * as rxjs from 'rxjs'; import { BehaviorSubject } from 'rxjs'; import { Direction } from '@angular/cdk/bidi'; import { NzNoAnimationDirective } from 'ng-zorro-antd/core/animation'; import * as i5 from 'ng-zorro-antd/menu'; import { MenuService } from 'ng-zorro-antd/menu'; type NzPlacementType = 'bottomLeft' | 'bottomCenter' | 'bottomRight' | 'topLeft' | 'topCenter' | 'topRight'; declare class NzDropdownMenuComponent implements AfterContentInit, OnInit { private cdr; private elementRef; private renderer; viewContainerRef: ViewContainerRef; private directionality; private destroyRef; noAnimation: NzNoAnimationDirective | null; nzMenuService: MenuService; isChildSubMenuOpen$: BehaviorSubject; descendantMenuItemClick$: rxjs.Subject; mouseState$: BehaviorSubject; animationStateChange$: EventEmitter; templateRef: TemplateRef; nzOverlayClassName: string; nzOverlayStyle: IndexableObject; nzArrow: boolean; placement: NzPlacementType | 'bottom' | 'top'; dir: Direction; protected readonly dropdownAnimationEnter: i0.Signal; protected readonly dropdownAnimationLeave: i0.Signal; onAnimationEvent(event: AnimationCallbackEvent): void; setMouseState(visible: boolean): void; setValue(key: T, value: this[T]): void; ngOnInit(): void; ngAfterContentInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzDropdownDirective implements AfterViewInit, OnChanges { readonly nzConfigService: NzConfigService; private renderer; private viewContainerRef; private platform; private destroyRef; readonly _nzModuleName: NzConfigKey; elementRef: ElementRef; private injector; private portal?; private overlayRef; private inputVisible$; private nzTrigger$; private overlayClose$; nzDropdownMenu: NzDropdownMenuComponent | null; nzTrigger: 'click' | 'hover'; nzMatchWidthElement: ElementRef | null; nzBackdrop: boolean; nzClickHide: boolean; nzDisabled: boolean; nzVisible: boolean; nzArrow: boolean; nzOverlayClassName: string; nzOverlayStyle: IndexableObject; nzPlacement: NzPlacementType; readonly nzVisibleChange: EventEmitter; constructor(); setDropdownMenuValue(key: T, value: NzDropdownMenuComponent[T]): void; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_nzBackdrop: unknown; static ngAcceptInputType_nzClickHide: unknown; static ngAcceptInputType_nzDisabled: unknown; static ngAcceptInputType_nzVisible: unknown; static ngAcceptInputType_nzArrow: unknown; } declare class NzDropdownADirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class NzContextMenuServiceModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class NzDropdownModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @deprecated Use {@link NzDropdownModule} instead. * This will be removed in v22.0.0. */ declare const NzDropDownModule: typeof NzDropdownModule; declare class NzContextMenuService { private ngZone; private injector; private overlayRef; private closeSubscription; create($event: MouseEvent | { x: number; y: number; }, nzDropdownMenuComponent: NzDropdownMenuComponent): EmbeddedViewRef; close(clear?: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { NzContextMenuService, NzContextMenuServiceModule, NzDropDownModule, NzDropdownADirective, NzDropdownDirective, NzDropdownMenuComponent, NzDropdownModule }; export type { NzPlacementType };