import * as _angular_core from '@angular/core'; import { OnDestroy, TemplateRef } from '@angular/core'; import { ClientPageMenuItem } from '@masterteam/components/client-page-menu'; import { MTIcon } from '@masterteam/icons'; declare class ClientPage implements OnDestroy { private readonly platformId; private readonly document; private readonly dir; private readonly zone; private readonly transloco; private mediaQueryList; private resizeMoveListener; private resizeUpListener; /** Whether the current direction is RTL */ readonly isRtl: _angular_core.Signal; /** Icon for the left sidebar header */ readonly menuIcon: _angular_core.InputSignal; protected readonly sidebarIcon: _angular_core.Signal; /** Title for the left sidebar header */ readonly menuTitle: _angular_core.InputSignal; /** List of menu items for the left sidebar */ readonly menuItems: _angular_core.InputSignal; /** Whether menu items are loading */ readonly menuItemsLoading: _angular_core.InputSignal; /** Shows an expand/collapse chevron on expandable menu rows (opt-in) */ readonly showExpandIcon: _angular_core.InputSignal; /** Key of the active menu item (defaults to first item) */ readonly activeItem: _angular_core.InputSignal; /** Whether the sidebar menu is collapsed (two-way bindable) */ readonly collapsed: _angular_core.ModelSignal; /** Allows the item-count heuristic; disable when the host owns collapse state. */ readonly autoCollapse: _angular_core.InputSignalWithTransform; /** Enables desktop sidebar resizing from the divider */ readonly resizable: _angular_core.InputSignalWithTransform; /** * Storage seed for the persisted sidebar width. Defaults to a key shared by * every `mt-client-page`, so the shell keeps one width across modules; pass * your own only when a surface genuinely needs its own. */ readonly storageKey: _angular_core.InputSignal; /** Storage location used for persisted sidebar width */ readonly storageMode: _angular_core.InputSignal<"local" | "session">; /** Minimum desktop sidebar width in pixels */ readonly minSidebarWidth: _angular_core.InputSignal; /** Maximum desktop sidebar width in pixels */ readonly maxSidebarWidth: _angular_core.InputSignal; /** Optional default desktop sidebar width in pixels */ readonly defaultSidebarWidth: _angular_core.InputSignal; /** Template projected into the left sidebar header end */ readonly headerEnd: _angular_core.Signal | undefined>; /** Emitted when a menu item is clicked */ readonly menuItemClick: _angular_core.OutputEmitterRef; /** Forwarded from `mt-client-page-menu`: fetch children for a lazy item (`hasChildren`, no `children` yet). */ readonly loadChildren: _angular_core.OutputEmitterRef; private readonly layoutRoot; /** Tracks activeItem input, overridable by user clicks */ private readonly selectedKey; /** Currently selected menu item — walks children for sub-item keys */ readonly selectedItem: _angular_core.Signal; /** * Header display item — always anchored to the top-level (parent) entry. * When the actual selection is a child, `subtitle` is overridden with the * child's title so the header reads "Parent title / Child name" instead of * replacing the parent identity with the child's own icon/title. When the * selection is already top-level (parent or a childless leaf), this is * identical to `selectedItem` and its real `subtitle` description shows as-is. */ readonly headerItem: _angular_core.Signal; protected readonly headerIcon: _angular_core.Signal; /** Whether the initial default selection has been emitted */ private initialEmitted; /** Whether the sidebar area is being hovered */ readonly sidebarHovered: _angular_core.WritableSignal; /** Whether the resize divider area is being hovered */ readonly dividerHovered: _angular_core.WritableSignal; /** Whether the desktop divider is currently resizing */ readonly isResizing: _angular_core.WritableSignal; /** Whether the viewport is at or below the responsive breakpoint */ readonly isResponsive: _angular_core.WritableSignal; /** Whether the responsive top navigation is expanded */ readonly responsiveMenuExpanded: _angular_core.WritableSignal; /** Current desktop sidebar width in pixels */ private readonly desktopSidebarWidth; /** Whether the menu section is currently visible */ readonly showSidebarMenu: _angular_core.Signal; /** Sidebar width reacts to collapsed + hover */ readonly sidebarWidth: _angular_core.Signal; /** Whether the current state allows divider dragging */ readonly canResize: _angular_core.Signal; /** Icon for the collapse toggle button */ readonly toggleIcon: _angular_core.Signal<"arrow.chevron-down" | "arrow.chevron-left" | "arrow.chevron-right" | "arrow.chevron-up">; /** Accessible label for the toggle button */ readonly toggleAriaLabel: _angular_core.Signal; constructor(); /** Set once the user works the collapse toggle, freezing the auto behaviour. */ private collapseTouchedByUser; toggleCollapsed(): void; selectItem(item: ClientPageMenuItem): void; startResize(event: MouseEvent): void; ngOnDestroy(): void; getAvatarStyle(color: string): Record; private readonly handleResponsiveBreakpointChange; private setupResponsiveBehavior; private cleanupResizeListeners; private syncResponsiveState; private getWidthFromPointer; private persistSidebarWidth; private getNormalizedStorageKey; private getStorage; private getDefaultDesktopSidebarWidth; private getNormalizedMinSidebarWidth; private getNormalizedMaxSidebarWidth; private normalizeSidebarWidth; private clampSidebarWidth; private readPersistedState; private writePersistedState; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { ClientPage };