import { DBCommentAdapter, AddPublicCommentArgs, UpdatePublicCommentArgs, TakeActionOnCommentArgs, OptionalComment, Comment, GetCommentsArgs, GetPublicCommentsArgs, ConnectionResult, PublicComment, OptionalPublicComment } from '@wepublish/api'; import { Db } from 'mongodb'; export declare class MongoDBCommentAdapter implements DBCommentAdapter { private comments; private locale; constructor(db: Db, locale: string); addPublicComment({ input }: AddPublicCommentArgs): Promise; updatePublicComment({ id, text, state }: UpdatePublicCommentArgs): Promise; getComments({ filter, sort, order, cursor, limit }: GetCommentsArgs): Promise>; getPublicCommentsForItemByID(args: GetPublicCommentsArgs): Promise; getCommentById(id: string): Promise; getPublicChildrenCommentsByParentId(id: string, userID: string): Promise; takeActionOnComment({ id, state, rejectionReason }: TakeActionOnCommentArgs): Promise; } //# sourceMappingURL=comment.d.ts.map