import { plugins } from '../..'; import { ArgumentNode, IdentityNode, NodeType } from '../../nodes'; import { CommandComponent, TextRange } from '../../types'; export declare class DocCommentPlugin implements plugins.Plugin { [plugins.PluginID]: string; contributeSyntaxComponentParsers(contributor: plugins.Contributor): void; configureLanguages(factory: plugins.LanguageConfigBuilderFactory): void; } declare type DocCommentData = { doc: DocCommentNode; commands?: { component: CommandComponent; indent: string; }[]; }; declare type AnnotationValue = { raw: string; range: TextRange; }; declare type Annotation = { value: AnnotationValue; children?: Annotation[]; }; export declare type DocCommentComponent = plugins.SyntaxComponent; declare class DocCommentNode extends ArgumentNode { [NodeType]: string; raw: string; plainText: string; annotations: Annotation[]; functionID: IdentityNode | undefined; get flattenedAnnotations(): AnnotationValue[][]; toString(): string; valueOf(): string; static flattenAnnotations(annotations: Annotation[], prefix?: AnnotationValue[]): AnnotationValue[][]; } export {};