import { default as React } from 'react'; import { BlockNode, InlineNode } from './parser'; export interface RenderOptions { openLinksInNewTab?: boolean; sanitizeUrl?: (url: string) => string | null; imageResolver?: (src: string) => string; } export declare function renderInline(nodes: InlineNode[], options: RenderOptions, keyPrefix?: string): React.ReactNode[]; export declare function renderBlock(node: BlockNode, options: RenderOptions, key: string, tightParent?: boolean): React.ReactNode; export declare function renderBlocks(blocks: BlockNode[], options: RenderOptions): React.ReactNode;