/* Copyright (c), CKSource Holding sp. z o.o. All rights reserved. */ import Message, { type IMessage } from './../../message'; import type { IDescriptorBody } from '../../descriptor'; import { type IThread, type IThreadJSON } from '../descriptors/commentsthreaddescriptor'; export interface IGetDocumentThreadsResponse extends IMessage { threads?: string[]; threadsV2?: IThreadJSON[]; } export default class GetDocumentThreadsResponse extends Message { private readonly _threads?; private readonly _threadsV2?; readonly threads: IThread[]; static readonly DESCRIPTOR_NAME: string; static readonly DESCRIPTOR: IDescriptorBody; constructor(_threads?: IThread[] | undefined, _threadsV2?: IThread[] | undefined); toJSON(): IGetDocumentThreadsResponse; static fromJSON(object: IGetDocumentThreadsResponse): GetDocumentThreadsResponse; }