/** * FencedCodeBlock class represents a block of code that is delimited by triple backticks (```) and can optionally have a * language identifier. * * This class is used to parse and represent code blocks within Markdown or other text documents. It provides methods to * parse the content of a code block and to retrieve the language identifier and the code itself. * * @class FencedCodeBlock * @param {string} language The language identifier of the code block. * @param {string} text The text content of the code block. * @param {boolean} isComplete Indicates whether the code block is complete or not. */ export declare class StreamingMarkdownCodeBlock { language: string; text: string; isComplete: boolean; startIndex: number; endIndex: number; constructor(language: string, text: string, isComplete: boolean, startIndex?: number, endIndex?: number); static parse(content: string, defaultLanguage?: string): StreamingMarkdownCodeBlock; static multiLineCodeBlock(content: string, primaryLanguage?: string): StreamingMarkdownCodeBlock; static singleBlock(content: string): StreamingMarkdownCodeBlock; } export declare class MarkdownCodeBlock { language: string; startLine: number; endLine: number; code: string; constructor(language: string, startLine: number, endLine: number, code: string); static from(markdown: string): MarkdownCodeBlock[]; }