import { BaseCollection } from "./base_collection"; import { Comment } from "../models/comment"; import { PaginatedResult } from "../interfaces/paginated_result"; import { ProjectWithPagination } from "../interfaces/project_with_pagination"; import { ProjectOnly } from "../interfaces/project_only"; interface ParamsWithPagination extends ProjectWithPagination { key_id: number | string; } interface ProjectAndKey extends ProjectOnly { key_id: number | string; } type CommentData = { comment: string; }; type CommentDeleted = { project_id: string; comment_deleted: boolean; }; export declare class Comments extends BaseCollection { protected static rootElementName: string; protected static rootElementNameSingular: string; protected static prefixURI: string; protected static elementClass: typeof Comment; list(request_params: ParamsWithPagination): Promise>; create(comment_params: CommentData | CommentData[], request_params: ProjectAndKey): Promise; get(comment_id: string | number, request_params: ProjectAndKey): Promise; delete(comment_id: string | number, request_params: ProjectAndKey): Promise; list_project_comments(params: ProjectWithPagination): Promise>; } export {};