import { CommentType } from "../type"; declare const useNode: () => { insertNode: (tree: CommentType[], commentId: string, item: any) => CommentType[]; editNode: (tree: CommentType[], commentId: number | string, value: string) => CommentType[]; deleteNode: (tree: CommentType[], commentId: number | string) => CommentType[]; }; export default useNode;