import { ICommentRequestBody, IDiscussionCreateOrUpdateResponse, IDiscussionDTO, IDiscussionFieldDTO, IEditorRequestProps, IEntryMetadata, IMessageCreateOrUpdateResponse, IMessageDTO } from '../../../utils/types';
declare type IfetchActiveDiscussionResponse = {
    discussions: Array<IDiscussionDTO>;
};
export declare type IfetchBatchMessagesForDiscussion = {
    count: number;
    conversations: Array<IMessageDTO>;
};
export declare const fetchActiveDiscussions: (editorMetadata: IEditorRequestProps, doc_uid: string, content_type_uid: string, entry_uid: string, locale: string) => Promise<IfetchActiveDiscussionResponse>;
export declare const fetchBatchMessagesForDiscussion: (editorMetadata: IEditorRequestProps, discussion_uid: string, content_type_uid: string, entry_uid: string, locale: string, skip?: number, limit?: number) => Promise<IfetchBatchMessagesForDiscussion>;
export declare const resolveDiscussions: (editorMetadata: IEditorRequestProps, discussion_uid: string, content_type_uid: string, entry_uid: string, locale: string) => Promise<IDiscussionCreateOrUpdateResponse>;
export declare const createNewDiscussion: (editorMetadata: IEditorRequestProps, entryMetadata: IEntryMetadata, data: {
    field: IDiscussionFieldDTO;
    title: string;
}) => Promise<IDiscussionCreateOrUpdateResponse>;
export declare const updateJsonRteDoc: (editorMetadata: IEditorRequestProps, entryMetadata: IEntryMetadata, data: {
    field: IDiscussionFieldDTO;
    title: string;
}, rteDoc: object) => Promise<any>;
export declare const createNewComments: (editorMetadata: IEditorRequestProps, entryMetadata: IEntryMetadata, data: ICommentRequestBody) => Promise<IMessageCreateOrUpdateResponse>;
export declare const deleteSingleComment: (editorMetadata: IEditorRequestProps, entryMetadata: IEntryMetadata, discussion_uid: string, comment_uid: string) => Promise<{
    notice: string;
}>;
export declare const updateSingleComment: (editorMetadata: IEditorRequestProps, entryMetadata: IEntryMetadata, data: ICommentRequestBody, comment_uid: string) => Promise<IMessageCreateOrUpdateResponse>;
export declare const failureNotification: (errorMessage: any, errors: any) => void;
export {};
