/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { DocLinkTag, DocNode, StringBuilder } from '@microsoft/tsdoc'; import { IndentedWriter } from '../utils/indentedWriter'; export interface MarkdownEmitterOptions { } export interface MarkdownEmitterContext { writer: IndentedWriter; insideTable: boolean; writingBold: boolean; writingItalic: boolean; listLevel: number; options: TOptions; } /** * Renders MarkupElement content in the Markdown file format. * For more info: https://en.wikipedia.org/wiki/Markdown */ export declare class MarkdownEmitter { emit(stringBuilder: StringBuilder, docNode: DocNode, options: MarkdownEmitterOptions): string; protected getEscapedText(text: string): string; /** * @virtual */ protected writeNode(docNode: DocNode, context: MarkdownEmitterContext, hasNextSibling: boolean): void; /** @virtual */ protected writeLinkTagWithCodeDestination(docLinkTag: DocLinkTag, context: MarkdownEmitterContext): void; /** @virtual */ protected writeLinkTagWithUrlDestination(docLinkTag: DocLinkTag, context: MarkdownEmitterContext): void; protected writePlainText(text: string, context: MarkdownEmitterContext): void; protected writeNodes(docNodes: ReadonlyArray, context: MarkdownEmitterContext): void; } //# sourceMappingURL=markdownEmitter.d.ts.map