import { SCCategoryType, SCUserType } from '../types';
/**
 * Custom hook 'useSCCategoriesManager'
 * Use this hook to manage categories followed:
 * 1. const scUserContext: SCUserContextType = useSCUser();
 * 2. const scCategoriesManager: SCCategoriesManagerType = scUserContext.manager.categories;
 * 3. scCategoriesManager.isFollowed(category)
 */
export default function useSCCategoriesManager(user?: SCUserType): {
    categories: any[];
    loading: number[];
    isLoading: (obj: {
        id: number;
    }) => boolean;
    follow?: undefined;
    isFollowed?: undefined;
    refresh?: undefined;
    emptyCache?: undefined;
} | {
    categories: any[];
    loading: number[];
    isLoading: (obj: {
        id: number;
    }) => boolean;
    follow: (category: SCCategoryType) => Promise<any>;
    isFollowed: (category: SCCategoryType) => boolean;
    refresh: () => void;
    emptyCache: () => void;
};
//# sourceMappingURL=useSCCategoriesManager.d.ts.map