import { SCCategoryType, SCUserType } from '../types';
/**
 :::info
 This custom hook is used to manage the categories followed.
 :::

 :::tipHow to use it:
 Follow these steps:
 ```jsx
 1. const scUserContext: SCUserContextType = useSCUser();
 2. const scFollowedCategoriesManager: SCFollowedCategoriesManagerType = scUserContext.manager.categories;
 3. scFollowedCategoriesManager.isFollowed(category)
 ```
 :::
 */
export default function useSCFollowedCategoriesManager(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=useSCFollowedCategoriesManager.d.ts.map