/* Copyright (c), CKSource Holding sp. z o.o. All rights reserved. */ import Message, { type IMessage } from './../../message'; import type { IDescriptorBody } from '../../descriptor'; export interface IAddCommentResponse extends IMessage { commentThreadId: string; commentId: string; createdAt: string; } export default class AddCommentResponse extends Message { readonly commentThreadId: string; readonly commentId: string; readonly createdAt: Date; static readonly DESCRIPTOR_NAME: string; static readonly DESCRIPTOR: IDescriptorBody; constructor(commentThreadId: string, commentId: string, createdAt: string); toJSON(): IAddCommentResponse; static fromJSON(data: IAddCommentResponse): AddCommentResponse; }