import React from 'react'; import { MenusServiceConfig } from '../../services/index.js'; import type { Menu, Location } from '../../services/types.js'; export interface AppProps { children: React.ReactNode; config: MenusServiceConfig; } export declare function Menus(props: AppProps): import("react/jsx-runtime").JSX.Element; export interface LoadingProps { children: (props: { loading: boolean; }) => React.ReactNode; } export interface ErrorStateProps { children: (props: { error: string | null; }) => React.ReactNode; } export declare function Loading(props: LoadingProps): React.ReactNode; export declare function ErrorState(props: ErrorStateProps): React.ReactNode; export interface MenuSelectorProps { children: (props: { menus: Menu[]; selectedMenu: Menu | null; onMenuSelect: (menu: Menu) => void; }) => React.ReactNode; /** Text for the "all" option */ allText?: string; /** Whether to show the "all" option */ showAll?: boolean; } export declare function MenuSelector(props: MenuSelectorProps): React.ReactNode; export interface LocationSelectorProps { children: (props: { locations: Location[]; selectedLocation: string | null; onLocationSelect: (location: string) => void; }) => React.ReactNode; /** Text for the "all" option */ allText?: string; /** Whether to show the "all" option */ showAll?: boolean; } export declare function LocationSelector(props: LocationSelectorProps): React.ReactNode;