import { Category, Pricing, Calories } from '../../types'; export declare const MAX_VARIANTS_BEFORE_WRAP = 8; export declare type DisplayType = 'heading' | 'item' | 'variant' | 'divider'; interface DisplayItemProps { name?: string; description?: string; calories?: Calories; pricing?: Pricing; strikethrough?: boolean; hideName?: boolean; hideDescription?: boolean; hidePrice?: boolean; isSubHeading?: boolean; } export interface DisplayItem { type: DisplayType; props: DisplayItemProps; nestedLevel: number; } export declare type DisplayGroup = DisplayItem[]; export declare function createMenuGroups(categories: Category[], shouldWrapCategories?: boolean): DisplayGroup[]; declare const _default: (categories: Category[], wrap: boolean) => DisplayGroup[]; export default _default;