import { AxiosInstance } from "axios"; import { CommentBody, CommentParam, ResComment } from "../interface/comment"; export declare class CommentNovelApi { private instance; constructor(instance: AxiosInstance); /** * 删除评论 * @param id 绘画或小说id * @param commentId 评论id */ del(id: number, commentId: number): Promise; /** * 发布评论 * @param params */ post(params: CommentParam): Promise; /** * 查询小说回复(楼中楼) * @param commentId * @param page */ replies(commentId: number, page: number): Promise; /** * 查询小说评论(根) * @param nid * @param page * @param size */ roots(nid: number, page: number, size: number): Promise; }