import { Component, Spacing } from "graph-navigation-js"; import { MenuSubItemType } from "../../webDesktop/MenuItemGroup"; export declare class MenuVisor extends Component { uiType: string; backgroundColor?: string; color?: string; disableOnFetching?: true; text?: string; menuName?: string; categories?: Component[]; links?: Component[]; choser?: ChoserCotract; innerSpacing?: Spacing; } export declare class ChoserCotract { items: ChoserItemContract[]; combos: ChoserComboContract[]; } export declare class ChoserItemContract { id: number; name: string; description: string; categoryId: number; price: number; inMenu: boolean; imageSrc?: string; } export declare class ChoserComboContract { id: number; name: string; description: string; price: number; inMenu: boolean; imageSrc?: string; } export declare class MenuCategory extends Component { uiType: string; backgroundColor?: string; color?: string; disableOnFetching?: true; title?: string; categoryItems?: Component[]; } export declare class MenuCategoryItem extends Component { uiType: string; backgroundColor?: string; color?: string; disableOnFetching?: true; title?: string; price?: Number; iamge?: string; type?: MenuSubItemType; stock?: boolean; } export declare class MenuComboItem extends MenuCategoryItem { uiType: string; backgroundColor?: string; color?: string; disableOnFetching?: true; title?: string; price?: Number; iamge?: string; type?: MenuSubItemType; individualItems?: MenuIndividualItem[]; } export declare class MenuIndividualItem extends MenuCategoryItem { uiType: string; backgroundColor?: string; color?: string; disableOnFetching?: true; title?: string; price?: Number; iamge?: string; type?: MenuSubItemType; quantity?: Number; flavors?: Flavor[]; } export interface Flavor { id: number; title: string; stock: boolean; quantitySelected?: Number; imageUrl?: string | null; itemExtraPrice?: number | null; comboExtraPrice?: number | null; } export declare class MenuLinkItem extends Component { uiType: string; backgroundColor?: string; color?: string; disableOnFetching?: true; name?: string; handleLink?: string; hasCheckout?: boolean; }