import React from 'react'; export interface MenuItemProps { id: string; text: string; icon?: React.ReactNode; subitems?: SubitemProps[]; path?: string; disabled?: boolean; condition?: boolean; external?: string; externalRef?: string; } export interface SubitemProps { id: string; text: string; condition?: boolean; isSubSub?: boolean; subitems?: SubitemProps[]; path?: string | null; overridePath?: string; disabled?: boolean; external?: string; externalRef?: string; } export interface User { access: string; adress: { city: string; complement: string; neighborhood: string; number: string; state: string; street: string; zip_code: string; inscricao_estadual?: string; }; admin: boolean; ask_waiter_key: boolean; audit_cashier: boolean; avatar: { id: string; url: string; }; credit_register_enabled: boolean; default_cashier_user_id: string; delivery_info: { is_delivery_allowed: boolean; is_withdrawal_allowed: boolean; }; email: string; fantasy_name: string; financial_email: string; greeting_message: string; has_clube: boolean; has_ifood: boolean; has_service_tax: boolean; has_stone_pdv: boolean; id: number; instagram: string; isAdmin: boolean; name: string; only_delivery: boolean; order_cancel_password: string; order_transfer_password: string; phone: string; pixel_id: string; restaurant_email: string; role: string; service_tax: string; state: string; token_clube: string; use_cashier_by_user: boolean; use_smart_pos: boolean; user_role: string; waiters_can_close_sessions: boolean; } export interface SidebarProps { menuItems: (user: User) => MenuItemProps[]; user: User; color?: string; } export declare const Sidebar: ({ menuItems, user, color, }: SidebarProps) => JSX.Element;