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