import * as i0 from '@angular/core'; import { AfterContentInit, OnInit, ViewContainerRef, EventEmitter, TemplateRef, AfterViewInit, OnChanges, ElementRef, SimpleChanges, EmbeddedViewRef } from '@angular/core'; import { NzConfigService, NzConfigKey } from 'ng-zorro-antd/core/config'; import { IndexableObject, NzSafeAny } from 'ng-zorro-antd/core/types'; import * as rxjs from 'rxjs'; import { BehaviorSubject } from 'rxjs'; import { AnimationEvent } from '@angular/animations'; import { Direction } from '@angular/cdk/bidi'; import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation'; import * as i6 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; mouseState$: BehaviorSubject; nzMenuService: MenuService; isChildSubMenuOpen$: BehaviorSubject; descendantMenuItemClick$: rxjs.Subject; animationStateChange$: EventEmitter; nzOverlayClassName: string; nzOverlayStyle: IndexableObject; templateRef: TemplateRef; dir: Direction; onAnimationEvent(event: AnimationEvent): void; setMouseState(visible: boolean): void; setValue(key: T, value: this[T]): void; noAnimation: NzNoAnimationDirective | null; 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 overlay; private portal?; private overlayRef; private positionStrategy; private inputVisible$; private nzTrigger$; private overlayClose$; nzDropdownMenu: NzDropdownMenuComponent | null; nzTrigger: 'click' | 'hover'; nzMatchWidthElement: ElementRef | null; nzBackdrop: boolean; nzClickHide: boolean; nzDisabled: boolean; nzVisible: 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; } declare class NzDropDownADirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * @deprecated Will be removed in v21, because it is not used anymore. */ declare class NzDropdownButtonDirective { 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; } declare class NzContextMenuService { private ngZone; private overlay; 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, NzDropDownADirective, NzDropDownDirective, NzDropDownModule, NzDropdownButtonDirective, NzDropdownMenuComponent }; export type { NzPlacementType };