import type { IHeaderFooterLocaleData, IMegaMenu, THeaderFooterApi, THeaderMenuLocale } from '../../shared-types/header-footer'; /** * Pick the locale slice from a header/footer payload. Falls back to * `nb-NO` when the requested locale is missing — the same fallback the * legacy oslo.kommune.no header used. * * Returns `undefined` when the payload doesn't contain the fallback * either (e.g. a malformed response). Callers should treat that as an * error state. */ export declare function selectLocaleData(api: THeaderFooterApi | undefined, locale?: THeaderMenuLocale): IHeaderFooterLocaleData | undefined; /** * Convenience wrapper that returns the `megamenu` slice for the given * locale. */ export declare function selectMegamenu(api: THeaderFooterApi | undefined, locale?: THeaderMenuLocale): IMegaMenu | undefined;