import { Text } from 'slate';
export declare function getDiscussionsOnTextNode(textNode: any): Set<any>;
export declare function getDiscussionMarksOnTextNode(textNode: Text): string[];
export declare function isDiscussionThread(leafType: string): boolean;
export declare function isDiscussionThreadActive(leafType: string, activeDiscussionMap: Object): boolean;
export declare const DISCUSSION_THREAD_PREFIX = "discussionThread_";
export declare function getDiscussionIDFromMark(mark: any): any;
export declare function getMarkForDiscussionID(threadID: any): string;
export declare function getSmallestDiscussionAtTextNode(editor: any, textNode: any): any;
export declare const shouldAllowNewCommentThreadAtSelection: (editor: any, selection: any) => boolean;
