/// <reference types="react" />
import { SCUserType } from '@selfcommunity/core';
/**
 * Custom hook 'useSCFetchUser'
 * Use this hook to fetch a user object
 * @param initialSession
 */
export default function useSCFetchUser({ id, user }: {
    id?: number;
    user?: SCUserType;
}): {
    scUser: SCUserType;
    setSCUser: import("react").Dispatch<import("react").SetStateAction<SCUserType>>;
};
//# sourceMappingURL=useSCFetchUser.d.ts.map