import { MenuItem } from '../../../shared/types/menu-item'; /** * Internal header-menu configuration consumed by the resolver. Components expose their own public * config type (e.g. `WidgetHeaderMenuConfig`) that is structurally assignable to this. */ export interface HeaderMenuConfig { /** Whether the menu is enabled. Defaults to `true`. */ enabled?: boolean; /** Items to show in the menu. */ items?: MenuItem[]; } /** * Resolves the final list of items to render in a component's header menu. * * This is the single seam every header menu goes through, so ordering and visibility rules stay * identical across components. Relative positioning and an `onBeforeRender` transform are planned to * land here — see `__dev_docs__/header-menu-architecture.md`. * * @param config - The component's header menu configuration. * @returns The items to render, empty when the menu is disabled. */ export declare const resolveHeaderMenuItems: (config?: HeaderMenuConfig) => MenuItem[];