import type { HeaderMenuMode } from '../types/pn-marketweb-header.types';
/**
 * Returns the previously selected menu mode from localStorage.
 *
 * Returns null if:
 * - nothing is stored
 * - value is invalid
 * - storage is unavailable
 */
export declare function getStoredHeaderMenuMode(): HeaderMenuMode | null;
/**
 * Persists the selected menu mode in localStorage.
 *
 * Storage failures are intentionally ignored.
 */
export declare function storeHeaderMenuMode(mode: HeaderMenuMode): void;
/**
 * Resolves the effective initial menu mode.
 *
 * Priority:
 * 1. Stored user preference
 * 2. Server-provided initial mode
 * 3. Fallback to first mode (index 0)
 */
export declare function resolveInitialHeaderMenuMode(hasMenuSwitching: boolean, initialActiveMenuMode?: HeaderMenuMode | null): HeaderMenuMode;
