import { HeaderApiPayload, HeaderMapperOptions, HeaderViewModel } from '../types/pn-marketweb-header.types';
/**
 * Maps backend header data into the internal renderable view model.
 *
 * This mapper is the normalization boundary between the backend header payload
 * and the UI-facing header view model.
 *
 * Top-level menu interpretation:
 * - all items except the last = switchable root menus
 * - last item = shared/common root
 *
 * These semantics are inferred by position, not by stable backend identifiers.
 *
 * Responsibilities
 * ----------------
 * - normalize top-level backend payload sections
 * - optionally adjust relative URLs against the site domain
 * - detect whether the backend menu supports menu switching
 * - preserve the raw normalized menu structure for the wrapper component
 * - prepare a flat `menuItems` list for simpler rendering paths
 *
 * Important
 * ---------
 * - The switchable root items themselves are not intended to be rendered as
 *   visible main navigation entries
 * - Visible navigation is derived from:
 *   - active root children
 *   - plus shared/common root children
 * - If only a shared/common root exists, its children are rendered flat
 * - The wrapper component may choose either:
 *   - `menuItems` for flat rendering
 *   - or `rawMenuItems` + menu helpers for grouped rendering
 */
export declare function mapHeaderDataToViewModel(data: HeaderApiPayload, options: HeaderMapperOptions): HeaderViewModel;
