import type { CommentContextOptionalChecker, CommentParserConfig } from "./index.js"; import { Comment, type CommentDisplayPart } from "../../models/index.js"; import type { MinimalSourceFile } from "#utils"; import { type Token } from "./lexer.js"; import { FileRegistry } from "../../models/FileRegistry.js"; import { type Logger } from "#utils"; export declare function parseComment(tokens: Generator, file: MinimalSourceFile, context: CommentContextOptionalChecker): Comment; /** * Intended for parsing markdown documents. This only parses code blocks and * inline tags outside of code blocks, everything else is text. * * If you change this, also look at blockContent, as it likely needs similar * modifications to ensure parsing is consistent. */ export declare function parseCommentString(tokens: Generator, config: CommentParserConfig, file: MinimalSourceFile, logger: Logger, files: FileRegistry): { content: CommentDisplayPart[]; frontmatter: Record; };