/// import { SCCommentType } from '@selfcommunity/types'; import { CacheStrategies } from '@selfcommunity/utils'; /** :::info This custom hooks is used to fetch a comment. ::: * @param object * @param object.id * @param object.commentObject * @param object.cacheStrategy */ export default function useSCFetchCommentObject({ id, commentObject, cacheStrategy, }: { id?: number; commentObject?: SCCommentType; cacheStrategy?: CacheStrategies; }): { obj: SCCommentType; setObj: import("react").Dispatch>; error: string; };