Files
_hublib-web/packages/content-suggestions/dist/core/index.d.ts

13 lines
842 B
TypeScript

import { C as ContentEntity, L as LinkEntity, M as MentionEntity, T as TagEntity, P as ParsedMention, a as ProcessedContent } from '../types-BRt4hd7A.js';
export { B as BaseEntity } from '../types-BRt4hd7A.js';
declare const mentionLinkRegexp: RegExp;
declare const parseMention: (mention: string) => ParsedMention | null;
declare const findMentions: (text: string) => MentionEntity[];
declare const findTags: (content: string) => TagEntity[];
declare const findLinks: (content: string) => LinkEntity[];
declare const findAllEntities: (content: string) => ContentEntity[];
declare const processContent: (content: string) => ProcessedContent;
export { ContentEntity, LinkEntity, MentionEntity, ParsedMention, ProcessedContent, TagEntity, findAllEntities, findLinks, findMentions, findTags, mentionLinkRegexp, parseMention, processContent };