UNPKG

contentful-rich-text-html-parser

Version:
10 lines (9 loc) 566 B
import { Block, Inline } from "@contentful/rich-text-types"; import type { TagConverter, TextConverter } from "./types.js"; 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>;