import { SCUserType } from '../types';
/**
 :::info
 This custom hook is used to manage to manage friends.
 :::

 :::tipHow to use it:

 Follow these steps:
 ```jsx
 1. const scUserContext: SCUserContextType = useSCUser();
 2. const scConnectionsManager: SCConnectionsManagerType = scUserContext.manager.connections;
 3. scConnectionsManager.status(user)
 ```
 :::
 */
export default function useSCConnectionsManager(user?: SCUserType): {
    connections: any[];
    loading: number[];
    isLoading: (obj: {
        id: number;
    }) => boolean;
    status?: undefined;
    requestConnection?: undefined;
    acceptConnection?: undefined;
    refresh?: undefined;
    emptyCache?: undefined;
} | {
    connections: any[];
    loading: number[];
    isLoading: (obj: {
        id: number;
    }) => boolean;
    status: (user: SCUserType) => string;
    requestConnection: (user: SCUserType) => Promise<any>;
    acceptConnection: (user: SCUserType) => Promise<any>;
    refresh: () => void;
    emptyCache: () => void;
};
//# sourceMappingURL=useSCConnectionsManager.d.ts.map