import { A as baseFormat, B as resolveRunFont, C as MarkdownComponents, D as ResolvedMarkdownPrimitives, E as ResolvedMarkdownComponents, F as RichTextRun, G as resolveTheme, H as DeepPartial, I as RichTextSegment, J as defaultTokenColors, K as CodeTokenColors, L as clearRichTextCache, M as flattenInline, N as RichText, O as defineMarkdownComponents, P as RichTextProps, R as measureInline, S as MarkdownComponentProps, T as MarkdownRenderContext, U as MarkdownTheme, V as segmentItems, W as defaultTheme, X as clearParseCache, Y as MarkdownParseOptions, Z as parseMarkdown, _ as InlineComponent, a as TableBlock, b as InlineTextOptions, c as resolveColumnWidths, d as CodeBlockHeader, f as CodeBlockProps, g as mergeComponents, h as defaultComponents, i as DEFAULT_MIN_COLUMN_WIDTH, j as composeFont, k as InlineFormat, l as tableColumns, m as renderMarkdown, n as profileFor, o as TableBlockProps, p as RenderMarkdownOptions, q as TokenType, r as registerLanguage, s as TableColumns, t as LanguageProfile, u as CodeBlock, v as InlineComponents, w as MarkdownPrimitives, x as MarkdownComponent, y as InlineRenderContext, z as prepareCached } from "./languages-BxllW7OR.cjs"; //#region src/highlight/tokenize.d.ts interface Token { start: number; end: number; type: TokenType; } /** Scanner state carried across line boundaries. */ interface LineState { mode: 'plain' | 'comment' | 'string'; /** The delimiter that closes the carried comment/string. */ close: string; } declare const INITIAL_STATE: LineState; /** * Tokenize one line given the state the previous line ended in. Returns the * coloured tokens (sorted, non-overlapping) and the state this line ends in. */ declare function tokenizeLine(line: string, state: LineState, p: LanguageProfile): { tokens: Token[]; end: LineState; }; //#endregion export { CodeBlock, type CodeBlockHeader, type CodeBlockProps, type CodeTokenColors, DEFAULT_MIN_COLUMN_WIDTH, type DeepPartial, INITIAL_STATE, type InlineComponent, type InlineComponents, type InlineFormat, type InlineRenderContext, type InlineTextOptions, type LanguageProfile, type LineState, type MarkdownComponent, type MarkdownComponentProps, type MarkdownComponents, type MarkdownParseOptions, type MarkdownPrimitives, type MarkdownRenderContext, type MarkdownTheme, type RenderMarkdownOptions, type ResolvedMarkdownComponents, type ResolvedMarkdownPrimitives, RichText, type RichTextProps, type RichTextRun, type RichTextSegment, TableBlock, type TableBlockProps, type TableColumns, type Token, type TokenType, baseFormat, clearParseCache, clearRichTextCache, composeFont, defaultComponents, defaultTheme, defaultTokenColors, defineMarkdownComponents, flattenInline, measureInline, mergeComponents, parseMarkdown, prepareCached, profileFor, registerLanguage, renderMarkdown, resolveColumnWidths, resolveRunFont, resolveTheme, segmentItems, tableColumns, tokenizeLine };