/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { ApiModel } from '@microsoft/api-extractor-model'; /** * Renders API documentation in the Markdown file format. * For more info: https://en.wikipedia.org/wiki/Markdown */ export declare class MarkdownDocumenter { private readonly _apiModel; private readonly _tsdocConfiguration; private readonly _markdownEmitter; private _outputFolder; constructor(apiModel: ApiModel); generateFiles(outputFolder: string): void; private _generateTypeMapping; private _generateClassHierarchy; private _writeApiItemPage; private _writeApiItemBody; private _writeClassHierarchy; private _writeInterfaceImplementations; private _writeInterfaceImplementors; private _createInheritanceNote; private _getResolvedMembers; private _getInheritedMembers; private _createTypeTree; private _generateChildTree; private _generateParentTree; /** * GENERATE PAGE: PACKAGE or NAMESPACE */ private _writePackageOrNamespaceTables; /** * GENERATE PAGE: CLASS */ private _writeClassTables; /** * GENERATE PAGE: ENUM */ private _writeEnumTables; /** * GENERATE PAGE: INTERFACE */ private _writeInterfaceTables; /** * GENERATE PAGE: FUNCTION-LIKE */ private _writeParameterTables; private _createTitleCell; /** * This generates a DocTableCell for an ApiItem including the summary section and "(BETA)" annotation. * * @remarks * We mostly assume that the input is an ApiDocumentedItem, but it's easier to perform this as a runtime * check than to have each caller perform a type cast. */ private _createDescriptionCell; private _isStatic; private _createParameterTypeCell; private _createPropertyTypeCell; private _prettifyCodeBlock; private _getLinkForType; private _resolveType; private _writeBreadcrumb; private _writeBetaWarning; private _appendSection; private _appendAndMergeSection; private _getFilenameForApiItem; private _getAnchorForApiItem; private _getLinkFilenameForApiItem; private _deleteOldOutputFiles; private _getType; private _extractBaseType; private _getSignature; } //# sourceMappingURL=markdownDocumenter.d.ts.map