import { BlockNoteExtension } from "@blocknote/core"; export { TAGS_DETECT_REGEXP, detectTags, splitTags } from "./tags"; export type { TagMatch } from "./tags"; /** * BlockNote extension that renders `@tags` inside headings as badges. * * Editor extensions are supplied at editor-creation time and cannot be carried * by the schema, so consumers must add this to their `useCreateBlockNote` call: * * ```ts * useCreateBlockNote({ * schema: customSchema, * extensions: [tagBadgeExtension()], * }); * ``` */ export declare class TagBadgeExtension extends BlockNoteExtension { static key(): string; constructor(); } /** Factory for the `extensions` option of `useCreateBlockNote`. */ export declare const tagBadgeExtension: () => TagBadgeExtension;