/**
 * @file Helpers that bridge vendor activity-feed callbacks back to BUIE
 * @author Box
 */
import { serializeMentionMarkup } from '@box/threaded-annotations';
import type { BoxCommentPermission } from '../../../common/types/feed';
import type { OnReplyDelete, OnReplyUpdate, TransformedCommentItem } from './types';
export declare const serializeEditorContent: (content: unknown) => ReturnType<typeof serializeMentionMarkup> | null;
export declare const findMessagePermissions: (messages: TransformedCommentItem['messages'], id: string) => BoxCommentPermission | undefined;
export declare const logEditError: (error: unknown) => undefined;
export declare const dispatchReplyEdit: ({ id, messages, onReplyUpdate, parentId, text, }: {
    id: string;
    messages: TransformedCommentItem['messages'];
    onReplyUpdate?: OnReplyUpdate;
    parentId: string;
    text: string;
}) => void;
export declare const dispatchReplyDelete: ({ id, messages, onReplyDelete, parentId, }: {
    id: string;
    messages: TransformedCommentItem['messages'];
    onReplyDelete?: OnReplyDelete;
    parentId: string;
}) => void;
