import { INavItem } from '../../types';
export type TRequiredActionDisplayMode = 'all' | 'leaf-only';
export interface IMenuCodeLevelItem {
    code: string;
    level: number;
}
export interface IRequiredActionOptions {
    fallbackCount: number;
    displayMode: TRequiredActionDisplayMode;
    aggregateToParent: boolean;
    useMockFallbackWhenMissing: boolean;
    aggregateByCodeLevel?: boolean;
    codeLevels?: Array<IMenuCodeLevelItem>;
}
export declare const parseCodeLevelCsv: (raw: string) => Array<IMenuCodeLevelItem>;
export declare const aggregateCountByCodeLevel: (countByCode: Record<string, number>, codeLevels: Array<IMenuCodeLevelItem>) => Record<string, number>;
export declare const applyRequiredActionCount: (menu: Array<INavItem>, countByCode: Record<string, number>, options: IRequiredActionOptions) => Array<INavItem>;
