1 | import type { DocNode, DocLinkTag, StringBuilder } from '@microsoft/tsdoc';
|
2 | import type { ApiModel, ApiItem } from '@microsoft/api-extractor-model';
|
3 | import { MarkdownEmitter, type IMarkdownEmitterContext, type IMarkdownEmitterOptions } from './MarkdownEmitter';
|
4 | export interface ICustomMarkdownEmitterOptions extends IMarkdownEmitterOptions {
|
5 | contextApiItem: ApiItem | undefined;
|
6 | onGetFilenameForApiItem: (apiItem: ApiItem) => string | undefined;
|
7 | }
|
8 | export declare class CustomMarkdownEmitter extends MarkdownEmitter {
|
9 | private _apiModel;
|
10 | constructor(apiModel: ApiModel);
|
11 | emit(stringBuilder: StringBuilder, docNode: DocNode, options: ICustomMarkdownEmitterOptions): string;
|
12 | /** @override */
|
13 | protected writeNode(docNode: DocNode, context: IMarkdownEmitterContext, docNodeSiblings: boolean): void;
|
14 | /** @override */
|
15 | protected writeLinkTagWithCodeDestination(docLinkTag: DocLinkTag, context: IMarkdownEmitterContext<ICustomMarkdownEmitterOptions>): void;
|
16 | }
|
17 | //# sourceMappingURL=CustomMarkdownEmitter.d.ts.map |
\ | No newline at end of file |