/// <reference types="react" />
import { SCUserType } from '../types';
/**
 :::info
 This custom hook is used to fetch a user object.
 :::
 * @param object
 * @param object.id
 * @param object.user
 */
export default function useSCFetchUser({ id, user }: {
    id?: number;
    user?: SCUserType;
}): {
    scUser: SCUserType;
    setSCUser: import("react").Dispatch<import("react").SetStateAction<SCUserType>>;
    error: string;
};
//# sourceMappingURL=useSCFetchUser.d.ts.map