UNPKG

contentful-rich-text-html-parser

Version:
10 lines (9 loc) 563 B
import type { TagConverter, TextConverter } from "./types"; import { Block, Inline } from "@contentful/rich-text-types"; export declare const convertTagToBlock: TagConverter<Block>; export declare const convertTagToInline: TagConverter<Inline>; export declare const convertTagToHyperlink: TagConverter<Inline>; export declare const convertTagToMark: TagConverter; export declare const convertTagToChildren: TagConverter<Block>; export declare const convertTextNodeToText: TextConverter; export declare const convertTextNodeToParagraphedText: TagConverter<Block>;