import { type ReactNode } from 'react';
export interface FavoriteModule {
    id: string;
    code: string;
    label: string;
    icon: string;
    route: string;
    applicationId?: string;
    applicationCode: string;
    applicationLabel: string;
    displayOrder?: number;
}
interface FavoritesContextType {
    favorites: FavoriteModule[];
    loading: boolean;
    error: string | null;
    addFavorite: (module: FavoriteModule) => Promise<boolean>;
    removeFavorite: (moduleId: string) => Promise<boolean>;
    toggleFavorite: (module: FavoriteModule) => Promise<boolean>;
    isFavorite: (moduleId: string) => boolean;
    reorderFavorites: (newOrder: FavoriteModule[]) => Promise<boolean>;
    canAddMore: boolean;
    maxFavorites: number;
    reload: () => Promise<void>;
    expandFavorites: boolean;
    triggerExpand: () => void;
    clearExpand: () => void;
    requiresTenant: boolean;
}
export declare function FavoritesProvider({ children }: {
    children: ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function useFavorites(): FavoritesContextType;
export {};
//# sourceMappingURL=FavoritesContext.d.ts.map