import { Doc, Reference, Footnote, HasChildren, HasAttributes, AstNode, Visitor } from "./ast"; import { Options, Warning } from "./options"; interface HTMLRenderOptions extends Options { overrides?: Visitor; } declare class HTMLRenderer { warn: (warning: Warning) => void; options: HTMLRenderOptions; private tight; footnoteIndex: Record; nextFootnoteIndex: number; references: Record; autoReferences: Record; constructor(options: HTMLRenderOptions); escape(s: string): string; escapeAttribute(s: string): string; smartPunctuationMap: Record; renderAttributes(node: HasAttributes, extraAttrs?: Record): string; renderTag(tag: string, node: AstNode, extraAttrs?: Record): string; renderCloseTag(tag: string): string; inTags(tag: string, node: HasChildren, newlines: number, extraAttrs?: Record): string; addBacklink(note: string, ident: number): string; renderChildren(node: HasChildren): string; renderAstNode(node: AstNode): string; renderNotes(notes: Record): string; renderAstNodeDefault(node: AstNode): string; render(doc: Doc): string; } declare const renderHTML: (ast: Doc, options?: HTMLRenderOptions) => string; export type { HTMLRenderOptions }; export { renderHTML, HTMLRenderer };