///
import { SCUserProviderAssociationType } from '@selfcommunity/types';
/**
:::info
This custom hook is used to fetch the list of user providers.
:::
* @param object
* @param object.id
* @param object.providers
*/
export default function useSCFetchUserProviders({ id, providers }: {
id: number | string;
providers?: SCUserProviderAssociationType[];
}): {
scUserProviders: SCUserProviderAssociationType[];
setSCUserProviders: import("react").Dispatch>;
error: string;
};