class MdjsClass { constructor(customRender?: ClassMdjsRenderer); static MdjsRenderer: ClassMdjsRendererStatic; static md2html: Mdjs_md2html; static escapedHTML: Mdjs_escapedHTML; md2html: Mdjs_md2html; }; type Mdjs_md2html = (md: string | Buffer | Object, options?: MdjsParseOptions) => string; type Mdjs_escapedHTML = (str: string) => string; type MdjsParseOptions = { /** * insert
to each new line in paragraphs * default value: false */ alwaysNewline?: boolean; }; type MdjsLinkObject = { url: string; title?: string; text?: string; /** * same with text */ content?: string; }; type ClassMdjsRendererStatic = { new(): ClassMdjsRenderer; prototype: ClassMdjsRenderer; }; type ClassMdjsRenderer = { addReferenceLinkProvider(provider: (name: string) => string | MdjsLinkObject): void; _resolveRefLink(referName: string): string | MdjsLinkObject; tag: { /** '
' */ hr: string; /** '
' */ br: string; /** ['

', '

'] */ p: string[]; /** ['
', '
']; */ quote: string[]; /** ['', '']; */ del: string[]; /** ['', '']; */ strong: string[]; /** ['', '']; */ em: string[]; /** ['', '']; */ inlineCode: string[]; /** ['
', '
']; */ codeBlock: string[]; /** ['']; */ list: string[]; /** ['
    ', '
']; */ orderList: string[]; /** ['
  • ', '
  • ']; */ listItem: string[]; /** ['
    ', '
    ']; */ toc: string[]; /** ['
      ', '
    ']; */ tocList: string[]; /** ['
  • ', '
  • ']; */ tocItem: string[]; /** ['
      ', '
    ']; */ footNote: string[]; }; func: { heading(level: Number, name: string, content: string): string; link(uri: string, title: string, content: string): string; email(email: string): string; image(uri: string, title: string, altText: string): string; footNoteLink(uri: string, title: string, content: string): string; table(headContent: string, bodyContent: string): string; tableRow(isHead: Boolean, cols: Array, align: Array): string; footNode(name: string, content: string): string; }; };