import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, AfterContentInit, OnDestroy, QueryList, Renderer2, SimpleChanges, OnChanges } from '@angular/core'; import { Placement, PlacementArray } from '../util/positioning'; import { Options } from '@popperjs/core'; import { NgbRTL } from '../util/rtl'; import { NgbDropdownConfig } from './dropdown-config'; import * as i0 from "@angular/core"; export declare class NgbNavbar { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * A directive you should put on a dropdown item to enable keyboard navigation. * Arrow keys will move focus between items marked with this directive. * * @since 4.1.0 */ export declare class NgbDropdownItem { elementRef: ElementRef; private _renderer; static ngAcceptInputType_disabled: boolean | ''; private _disabled; set disabled(value: boolean); get disabled(): boolean; constructor(elementRef: ElementRef, _renderer: Renderer2); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * A directive that wraps dropdown menu content and dropdown items. */ export declare class NgbDropdownMenu { dropdown: NgbDropdown; nativeElement: HTMLElement; placement: Placement | null; isOpen: boolean; menuItems: QueryList; constructor(dropdown: NgbDropdown, _elementRef: ElementRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * A directive to mark an element to which dropdown menu will be anchored. * * This is a simple version of the `NgbDropdownToggle` directive. * It plays the same role, but doesn't listen to click events to toggle dropdown menu thus enabling support * for events other than click. * * @since 1.1.0 */ export declare class NgbDropdownAnchor { dropdown: NgbDropdown; nativeElement: HTMLElement; constructor(dropdown: NgbDropdown, _elementRef: ElementRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * A directive to mark an element that will toggle dropdown via the `click` event. * * You can also use `NgbDropdownAnchor` as an alternative. */ export declare class NgbDropdownToggle extends NgbDropdownAnchor { constructor(dropdown: NgbDropdown, elementRef: ElementRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * A directive that provides contextual overlays for displaying lists of links and more. */ export declare class NgbDropdown implements AfterContentInit, OnChanges, OnDestroy { private _changeDetector; private _document; private _ngZone; private _elementRef; private _renderer; static ngAcceptInputType_autoClose: boolean | string; static ngAcceptInputType_display: string; private _destroyCloseHandlers$; private _zoneSubscription; private _bodyContainer; private _positioning; private _menu; private _anchor; /** * Indicates whether the dropdown should be closed when clicking one of dropdown items or pressing ESC. * * * `true` - the dropdown will close on both outside and inside (menu) clicks. * * `false` - the dropdown can only be closed manually via `close()` or `toggle()` methods. * * `"inside"` - the dropdown will close on inside menu clicks, but not outside clicks. * * `"outside"` - the dropdown will close only on the outside clicks and not on menu clicks. */ autoClose: boolean | 'outside' | 'inside'; /** * A custom class that is applied only to the `ngbDropdownMenu` parent element. * * In case of the inline dropdown it will be the `
` * * In case of the dropdown with `container="body"` it will be the `