import { AxiosInstance } from "axios"; import { CommentBody, CommentParam, ResComment } from "../interface/comment"; export declare class CommentIllustApi { 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 illustId * @param page * @param size */ roots(illustId: number, page: number, size: number): Promise; }