import { ThemeableComponent } from "../../common"; import { DuetTheme } from "../../common-types"; export declare class DuetSubmenuBar implements ThemeableComponent { /** * Own Properties. */ private button; private itemsContainer; private nav; private hasItems; private mql; private boundMqlFunctions; private previousYScroll; hidden: boolean; mobile: boolean; bodyScroll: boolean; /** * Reference to host HTML element. */ element: HTMLElement; /** * Theme. */ theme: DuetTheme; /** * Makes the submenu bar hide on top of the window when page is scrolled down * Should be used only with sticky navigation. */ hideOnScroll: boolean; /** * Open */ open: boolean; watchOpenStateHandler(newValue: boolean): void; /** * Adds accessible label for the button that is only shown for screen readers. * Typically, this label text replaces the visible text on the button for * users who use assistive technology. */ accessibleLabel: string; /** * Component lifecycle events. */ componentWillLoad(): void; connectedCallback(): void; disconnectedCallback(): void; private handleMobileView; private onClick; private enableBodyScroll; private disableBodyScroll; private checkIfHasItems; /** * Sets focus. Use this method instead of the global focus(). */ setFocus(options?: FocusOptions): Promise; checkScroll(): void; /** * render() function * Always the last one in the class. */ render(): any; }