import * as i0 from '@angular/core'; import { OnChanges } from '@angular/core'; import * as i1 from '@odx/angular/cdk/a11y'; import { DynamicContent, DynamicTextContent } from '@odx/angular/cdk/dynamic-view'; import * as i1$1 from '@odx/angular/components/dropdown'; import { DropdownDirective } from '@odx/angular/components/dropdown'; import { Position, NgChanges } from '@odx/angular/utils'; import * as i4 from '@odx/angular/components/icon'; import * as i5 from '@odx/angular'; /** * Represents a directive for a menu item. * Uses the `ListFocusManagerOptionDirective` to manage focus within the menu items. * * @see {ListFocusManagerOptionDirective} */ declare class MenuItemDirective { readonly element: i0.ElementRef; protected selectItem(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * `MenuComponent` provides an Angular component for creating a navigational menu structure in an application. * It utilizes the `ListFocusManagerDirective` to manage focus within the menu items and integrates with other custom components like `ActionGroupComponent`. * The component is styled using CSS component techniques to ensure a consistent look and feel across different parts of the application. * @see {ListFocusManagerDirective} */ declare class MenuComponent { readonly element: i0.ElementRef; /** * A CSS modifier that indicates if the menu should use a tile layout. This is controlled through an input property which can be bound to a boolean value. * * @type {boolean} * @default false */ tile: boolean; protected onTab(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_tile: unknown; } /** * `MenuDirective` integrates a menu system into elements using the `DropdownDirective` * for dynamic dropdown functionality. * It enables flexible positioning and content injection capabilities, making it suitable * for creating context menus, dropdown lists, and other interactive menu-driven components. * * @see {DropdownDirective} */ declare class MenuDirective implements OnChanges { protected readonly dropdown: DropdownDirective; readonly element: i0.ElementRef; /** * Accepts dynamic content other than `DynamicTextContent` to be used as the content of the dropdown. * This allows for more complex content structures such as templates or components to be defined * as dropdown content. * * @type {Exclude | null} */ content?: Exclude | null; /** * Optionally specifies the positioning of the dropdown menu relative to its trigger element. * If not specified, a default position may be used. * * @type {Position | null} */ position?: Position | null; ngOnChanges(changes: NgChanges): void; /** * Returns whether the dropdown is currently open. * * @returns {boolean} `true` if the dropdown is open, `false` otherwise. */ isOpen(): boolean; /** * Closes the dropdown. * * @param {Event} [event] The event that triggered the dropdown close. */ close(event?: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class MenuModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { MenuComponent, MenuDirective, MenuItemDirective, MenuModule };