import { MobileNavigationItem, TenantItem } from './types'; import { SidebarTokenType } from './sidebar.tokens'; import { DirectoryData } from '../Directory/types'; export declare const arrangeTenants: (tenants: TenantItem[], selectedLabel: string) => { visibleTenants: TenantItem[]; hiddenTenants: TenantItem[]; hasMoreTenants: boolean; }; export declare const getSidebarWidth: (isExpanded: boolean, isHovering: boolean, hasLeftPanel: boolean, tokens: SidebarTokenType, iconOnlyMode?: boolean) => string; export declare const getSidebarBorder: (isExpanded: boolean, isHovering: boolean, tokens: SidebarTokenType) => string; export declare const getTopbarStyles: (enableAutoHide: boolean, showTopbar: boolean) => {}; export declare const getDefaultMerchantInfo: () => { items: { label: string; value: string; icon: null; }[]; selected: string; onSelect: (value: string) => void; }; export declare const useTopbarAutoHide: (enableTopbarAutoHide: boolean) => boolean; export declare const isControlledSidebar: (isExpanded: boolean | undefined) => boolean; export declare const getMobileNavigationItems: (directory?: DirectoryData[] | null) => MobileNavigationItem[]; /** * Parse CSS unit values to numbers (e.g., "16px" -> 16) * Returns 0 for invalid values */ export declare const parseUnitValue: (value: string | number | undefined) => number; /** * Parse CSS values to numbers, allowing null for invalid values * Returns null for invalid values (more flexible than parseUnitValue) */ export declare const parseCssValue: (value: string | number | null | undefined) => number | null; export declare const MOBILE_NAVIGATION_COLLAPSED_HEIGHT: string; export declare const MOBILE_NAVIGATION_SAFE_AREA: string; export declare const getMobileNavigationLayout: (items: MobileNavigationItem[], viewportHeight?: number, options?: { primaryReservedSlots?: number; }) => { primaryItems: MobileNavigationItem[]; secondaryItems: MobileNavigationItem[]; hasSecondaryItems: boolean; snapPoints: (string | number)[]; }; export declare const getMobileNavigationSecondaryRows: (secondaryItems: MobileNavigationItem[]) => MobileNavigationItem[][]; export declare const getMobileNavigationFillerCount: (itemsInRow: number) => number; export declare const getMobileNavigationRowPadding: ({ isSecondary, isLastRow, }: { isSecondary: boolean; isLastRow: boolean; }) => { paddingTop: number | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "-moz-fit-content" | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "-webkit-max-content" | "auto" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | undefined; paddingRight: number | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "-moz-fit-content" | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "-webkit-max-content" | "auto" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | undefined; paddingBottom: number | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "-moz-fit-content" | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "-webkit-max-content" | "auto" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | undefined; paddingLeft: number | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "-moz-fit-content" | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "-webkit-max-content" | "auto" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | undefined; }; export declare const MOBILE_NAVIGATION_BUTTON_DIMENSIONS: { width: number | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "-moz-fit-content" | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "-webkit-max-content" | "auto" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | undefined; height: number | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "-moz-fit-content" | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "-webkit-max-content" | "auto" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | undefined; }; export declare const MOBILE_NAVIGATION_GAP: number | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "-moz-fit-content" | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "-webkit-max-content" | "auto" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | undefined;