import { EventEmitter } from "../../stencil-public-runtime"; import { SwirlShellNavigationItemVariant } from "../swirl-shell-navigation-item/swirl-shell-navigation-item"; export type SwirlShellLayoutSecondaryNavView = "grid" | "list"; export type SwirlShellLayoutSecondaryNavGridItemVariant = Exclude; /** * @deprecated This component is deprecated and will be removed in the next major release. * @slot logo - Logo shown inside header. * @slot left-header-tools - Tools positioned on the header's left-hand side. * @slot right-header-tools - Tools positioned on the header's right-hand side. * @slot mobile-header-tools - Tools positioned in the mobile drawer header. * @slot avatar - User avatar positioned on the header's right-hand side. * @slot nav - Items shown in the lower sidebar part. * @slot secondary-nav - Items shown in the secondary navigation area (e.g. when using grid layout). * @slot mobile-logo - Logo shown inside the mobile navigation drawer. * @slot slot - Contents of the main area. */ export declare class SwirlShellLayout { el: HTMLElement; brandedHeader?: boolean; browserBackButtonLabel?: string; browserForwardButtonLabel?: string; collapseNavigationButtonLabel?: string; enableSecondaryNavGridLayout?: boolean; secondaryNavGridLayoutVariant: SwirlShellLayoutSecondaryNavGridItemVariant; expandNavigationButtonLabel?: string; gridNavLayoutToggleLabel?: string; hideMobileNavigationButtonLabel?: string; listNavLayoutToggleLabel?: string; navigationLabel?: string; secondaryNavCollapseLabel?: string; secondaryNavExpandLabel?: string; skipLinkLabel?: string; historyBackClick: EventEmitter; historyForwardClick: EventEmitter; skipLinkClick: EventEmitter; isDesktopViewport: boolean; mobileNavigationActive?: boolean; navigationCollapsed?: boolean; secondaryNavCollapsed?: boolean; secondaryNavView?: SwirlShellLayoutSecondaryNavView; private focusTrap; private mainNavItems; private navElement; private navMutationObserver; private secondaryNavItems; componentWillLoad(): void; componentDidLoad(): void; componentDidRender(): void; disconnectedCallback(): void; onWindowKeyDown(event: KeyboardEvent): void; watchEnableSecondaryNavGridLayout(): void; watchMobileNavigationState(): void; watchNavigationCollapsed(): void; onWindowResize(): void; /** * Opens the mobile navigation. */ showMobileNavigation(): Promise; collectNavItems: () => void; toggleSecondaryNavView: (event: Event) => void; toggleSecondaryNavCollapse: (event: Event) => void; /** * Hides the mobile navigation. */ hideMobileNavigation(): Promise; private onNavigationToggleClick; private onNavigationClick; private toggleNavItemLabels; private setSecondaryNavItemsTiled; private restoreSecondaryNavState; render(): any; }