vue-stream-markdown 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/{alert-DggFlw1I.js → alert-D3UwyV7R.js} +1 -1
  2. package/dist/{blockquote-DzOTufQI.js → blockquote-CvKdJQdo.js} +1 -1
  3. package/dist/{button-BzkJ190j.js → button-BP8pKYaa.js} +1 -1
  4. package/dist/{caret-D6Fn0wlr.js → caret-C7398e9h.js} +1 -1
  5. package/dist/{code-Cxo8R2hB.js → code-a2GB_yAm.js} +1 -1
  6. package/dist/{code-block-CxQhnimu.js → code-block-lHCkg-0R.js} +1 -1
  7. package/dist/composables-CEQ7PHHo.js +1 -0
  8. package/dist/{delete-Cd-WVNFE.js → delete-CwKIL8Qj.js} +1 -1
  9. package/dist/{dropdown-D-2hu2Ld.js → dropdown-BjjKqFvn.js} +1 -1
  10. package/dist/{emphasis-DPGVb_PV.js → emphasis-CYAMGH_3.js} +1 -1
  11. package/dist/{error-component-CtRlME3T.js → error-component-BMV-Gi7k.js} +1 -1
  12. package/dist/{footnote-definition-CdGqynNW.js → footnote-definition-BTxVklS3.js} +1 -1
  13. package/dist/{footnote-reference-DEAHsKMp.js → footnote-reference-DTU00-o6.js} +1 -1
  14. package/dist/{heading-vrRLzwhM.js → heading-A9nX2sS5.js} +1 -1
  15. package/dist/html-CyKTSS_t.js +1 -0
  16. package/dist/html.d.ts +0 -1
  17. package/dist/{icon-B83qYRTQ.js → icon-DEtGUQxj.js} +1 -1
  18. package/dist/{image-S_LjL4MS.js → image-B6vLrGSk.js} +1 -1
  19. package/dist/{image-4ace5B-4.js → image-DlSsGMhF.js} +1 -1
  20. package/dist/index.css +1 -1
  21. package/dist/index.d.ts +184 -192
  22. package/dist/index.js +1 -1
  23. package/dist/{inline-math-C0hSuZHG.js → inline-math-LiQBTpzo.js} +1 -1
  24. package/dist/{link-CUTAaowE.js → link-DYTaPvFt.js} +1 -1
  25. package/dist/{list-DIULF_09.js → list-Bnn0n4cA.js} +1 -1
  26. package/dist/{list-item-6rLARLtC.js → list-item-Dt9REJm9.js} +1 -1
  27. package/dist/{math-QCxx6qzs.js → math-CIqnBfCb.js} +1 -1
  28. package/dist/{mermaid-CbtXgU48.js → mermaid-B5PsU_qN.js} +1 -1
  29. package/dist/{node-list-Bz98kLRm.js → node-list-ph2HinFG.js} +1 -1
  30. package/dist/{paragraph-B9lpNEwv.js → paragraph-GlFIhnvN.js} +1 -1
  31. package/dist/{segmented-BuaNAiPR.js → segmented-fYP_UIsN.js} +1 -1
  32. package/dist/{shiki-B367aYgN.js → shiki-BK4d8wsV.js} +1 -1
  33. package/dist/{strong-B4j8xa2w.js → strong-C2SDGgTS.js} +1 -1
  34. package/dist/{table-DfDLEkpC.js → table-DauezvqS.js} +1 -1
  35. package/dist/{text-7dbtSBiy.js → text-DuvzgGSy.js} +1 -1
  36. package/dist/{tooltip-CIal9Kyn.js → tooltip-isKPDMdP.js} +1 -1
  37. package/dist/{vanilla-ZgR5OHfS.js → vanilla-CYu7u2s4.js} +1 -1
  38. package/dist/{vanilla-renderer-uGthypEI.js → vanilla-renderer-BwUxb-S1.js} +1 -1
  39. package/dist/{yaml-CDcLW3bb.js → yaml-DMI-XlQj.js} +1 -1
  40. package/dist/{zoom-container-DhHoSURN.js → zoom-container-DtXvpSi8.js} +1 -1
  41. package/package.json +8 -8
  42. package/dist/composables-CNN6iaxK.js +0 -1
  43. package/dist/html-CzOkUJrT.js +0 -1
  44. /package/dist/{arrow-left-CTs2KqQN.js → arrow-left-BlFlQL_b.js} +0 -0
  45. /package/dist/{break-D4unDZ1a.js → break-DfAEqXmh.js} +0 -0
  46. /package/dist/{check-cZ2U5OdE.js → check-CWR5Mc7z.js} +0 -0
  47. /package/dist/{chevron-down-DtB2MVNn.js → chevron-down-DBZjsS6s.js} +0 -0
  48. /package/dist/{circle-alert-CcSl8DqY.js → circle-alert-5qWwHyoe.js} +0 -0
  49. /package/dist/{code-xml-gQc2y8sl.js → code-xml-BGJGLYMj.js} +0 -0
  50. /package/dist/{copy-DqYfdODZ.js → copy-CYKPdLIY.js} +0 -0
  51. /package/dist/{corner-down-left-puxUSnn5.js → corner-down-left-D5NVl7Mv.js} +0 -0
  52. /package/dist/{css-D3D0yKD2.js → css-Cid1EsqL.js} +0 -0
  53. /package/dist/{download-CncPu93-.js → download-IEBMf5SB.js} +0 -0
  54. /package/dist/{external-link-BprxAVhK.js → external-link-mi9N8eYN.js} +0 -0
  55. /package/dist/{eye-BP_OENm7.js → eye-rhp3J6TQ.js} +0 -0
  56. /package/dist/{flip-horizontal-AuosoDQq.js → flip-horizontal-BS61uVWm.js} +0 -0
  57. /package/dist/{html-DgmNrDCm.js → html-DwZcC2hj.js} +0 -0
  58. /package/dist/{html5-BkKcNeeK.js → html5-BqLUOBdx.js} +0 -0
  59. /package/dist/{image-CXal6uxq.js → image-BorkVDfh.js} +0 -0
  60. /package/dist/{inline-code-DucIt6Dj.js → inline-code-CWUF0fnO.js} +0 -0
  61. /package/dist/{javascript-BHfwccOF.js → javascript-BqWIhqSN.js} +0 -0
  62. /package/dist/{link-mEfEN3PN2.js → link-nMGg7yXc2.js} +0 -0
  63. /package/dist/{markdown-i33glFcq.js → markdown-71G9mU9V.js} +0 -0
  64. /package/dist/{maximize-Tfc3IYVb.js → maximize-qWpTApAz.js} +0 -0
  65. /package/dist/{mermaid-CemiCIc1.js → mermaid-B7SED66X.js} +0 -0
  66. /package/dist/{minimize-CafSv34O.js → minimize-M5sY4dAZ.js} +0 -0
  67. /package/dist/{modal-DA71YhaZ.js → modal-0Vc9XWjx.js} +0 -0
  68. /package/dist/{python-DoMVbSs_.js → python-LhErNGlR.js} +0 -0
  69. /package/dist/{react-C2jtS2eA.js → react-Cp6fi2Qt.js} +0 -0
  70. /package/dist/{rolldown-runtime-BbypZo7q.js → rolldown-runtime-DK3Fl9T5.js} +0 -0
  71. /package/dist/{rotate-ccw-square-BEfRTkA0.js → rotate-ccw-square-DwFyRw3A.js} +0 -0
  72. /package/dist/{rust-C9GFCOeY.js → rust-DqJhWBJ4.js} +0 -0
  73. /package/dist/{shiki-token-renderer-D4NfVK0C.js → shiki-token-renderer-BTX3g2M7.js} +0 -0
  74. /package/dist/{spin-CwR6HEjC.js → spin-C3ePk5f6.js} +0 -0
  75. /package/dist/{table-BNreCfO7.js → table--HYLjvQV.js} +0 -0
  76. /package/dist/{thematic-break-D6d6s8v9.js → thematic-break-mRDt5NwW.js} +0 -0
  77. /package/dist/{typescript-Ce2pP0xK.js → typescript-QvxXqjtX.js} +0 -0
  78. /package/dist/{vuedotjs-B8qk0avD.js → vuedotjs-CMNIHCeE.js} +0 -0
  79. /package/dist/{x-cyEz8ycE.js → x-Do4ofBE9.js} +0 -0
  80. /package/dist/{zoomIn-DCSVIJLh.js → zoomIn-DC8BPviw.js} +0 -0
  81. /package/dist/{zoomOut-nkQbB_hz.js → zoomOut-CGOPDw5I.js} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,94 +1,86 @@
1
- import * as _$vue from "vue";
2
1
  import { CSSProperties, Component, ComputedRef, MaybeRefOrGetter } from "vue";
3
- import * as _$_stream_markdown_mermaid0 from "@stream-markdown/mermaid";
4
- import * as _$_stream_markdown_core0 from "@stream-markdown/core";
5
2
  import { ANIMATION_SPLITS, ANIMATION_TYPES, AnimationSplit, AnimationType, BlockquoteNode as BlockquoteNode$1, BreakNode as BreakNode$1, BuiltinNodeRenderers, BuiltinNodeRenderers as BuiltinNodeRenderers$1, BuiltinPreviewers, BuiltinPreviewers as BuiltinPreviewers$1, BuiltinUIComponents, BuiltinUIComponents as BuiltinUIComponents$1, CARETS, CaretType, CaretType as CaretType$1, CdnModule, CdnOptions, CdnOptions as CdnOptions$1, CodeControlsConfig as CodeControlsConfig$1, CodeNode as CodeNode$1, CodeOptions as CodeOptions$1, CodeOptionsLanguage as CodeOptionsLanguage$1, Control as Control$1, ControlTransformer as ControlTransformer$1, ControlsConfig as ControlsConfig$1, DEFAULT_ANIMATION, DEFAULT_ANIMATION_SPLIT, DEFAULT_HARDEN_OPTIONS, DEFAULT_LANGUAGE, DefinitionNode as DefinitionNode$1, DeleteNode as DeleteNode$1, DownloadEvent, EmphasisNode as EmphasisNode$1, FootnoteDefinitionNode as FootnoteDefinitionNode$1, FootnoteReferenceNode as FootnoteReferenceNode$1, HardenOptions as HardenOptions$1, HeadingNode as HeadingNode$1, HtmlNode as HtmlNode$1, Icons as Icons$1, ImageControlsConfig as ImageControlsConfig$1, ImageNode as ImageNode$1, ImageOptions as ImageOptions$1, ImageReferenceNode as ImageReferenceNode$1, InlineCodeNode as InlineCodeNode$1, InlineMathNode as InlineMathNode$1, KatexOptions as KatexOptions$1, LinkNode as LinkNode$1, LinkOptions, LinkReferenceNode as LinkReferenceNode$1, ListItemNode as ListItemNode$1, ListNode as ListNode$1, LocaleConfig, LocaleConfig as LocaleConfig$1, MathNode as MathNode$1, MaybeArray, MaybePromise, MermaidControlsConfig as MermaidControlsConfig$1, MermaidOptions as MermaidOptions$1, NodeRendererListProps as NodeRendererListProps$1, NodeRendererProps as NodeRendererProps$1, NodeRenderers as NodeRenderers$1, PLAIN_TEXT_NODES, PRELOAD_NODE_RENDERER, ParagraphNode as ParagraphNode$1, ParsedNode as ParsedNode$1, PreloadConfig as PreloadConfig$1, PreviewSegmentedPlacement, PreviewerConfig as PreviewerConfig$1, SHADCN_SCHEMAS, SUPPORT_LANGUAGES, SelectOption, ShikiOptions as ShikiOptions$1, StreamMarkdownContext as StreamMarkdownContext$1, StreamMarkdownHooks, StreamMarkdownProps as StreamMarkdownProps$1, StrongNode as StrongNode$1, SupportedLanguage, SupportedLanguage as SupportedLanguage$1, TableCellNode as TableCellNode$1, TableControlsConfig as TableControlsConfig$1, TableNode as TableNode$1, TableRowNode as TableRowNode$1, TextNode as TextNode$1, ThematicBreakNode as ThematicBreakNode$1, UIAlertProps, UIButtonProps as UIButtonProps$1, UIComponents as UIComponents$1, UIDropdownProps, UIErrorComponentProps as UIErrorComponentProps$1, UIErrorVariant, UIIconProps as UIIconProps$1, UIImageProps as UIImageProps$1, UIModalProps as UIModalProps$1, UIOptions, UISegmentedProps as UISegmentedProps$1, UITableProps, UITooltipProps, UIZoomContainerProps as UIZoomContainerProps$1, YamlNode as YamlNode$1, ZoomControlPosition, ZoomOptions, ZoomState } from "@stream-markdown/core";
6
3
  import { Placement } from "@floating-ui/dom";
7
4
  import { PreprocessContext } from "@markmend/core";
8
5
  import { BlockquoteNode, BreakNode, CodeNode, DefinitionNode, DeleteNode, EmphasisNode, FootnoteDefinitionNode, FootnoteReferenceNode, FromMarkdownExtension, HeadingNode, HtmlNode, ImageNode, ImageReferenceNode, InlineCodeNode, InlineMathNode, LinkNode, LinkReferenceNode, ListItemNode, ListNode, MarkdownAstParser, MarkdownAstParserOptions, MarkdownAstParserResult, MarkdownParserOptions, MarkdownParserResult, MathNode, MdastOptions, MicromarkExtension, NodeType, NodeType as NodeType$1, ParagraphNode, ParsedNode, StrongNode, SyntaxTree, TableCellNode, TableNode, TableRowNode, TextNode, ThematicBreakNode, ToMarkdownExtension, YamlNode } from "@markmend/ast";
9
- import * as _$shiki from "shiki";
10
- import { BuiltinTheme, BundledLanguage, BundledTheme, CodeToTokensOptions, RegexEngine } from "shiki";
11
- import * as _$mermaid from "mermaid";
12
- import { MermaidConfig } from "mermaid";
13
- import * as _$beautiful_mermaid0 from "beautiful-mermaid";
14
6
  import { RenderOptions, ThemeName } from "beautiful-mermaid";
15
- import * as _$katex from "katex";
16
7
  import { KatexOptions as KatexOptions$2 } from "katex";
8
+ import { MermaidConfig } from "mermaid";
9
+ import { BuiltinTheme, BundledLanguage, BundledTheme, CodeToTokensOptions, RegexEngine } from "shiki";
17
10
  export * from "@markmend/core";
18
11
  export * from "@markmend/ast";
19
-
20
12
  //#region src/components/previewers/index.d.ts
21
13
  declare const CODE_PREVIEWERS: Partial<Record<string, Component>> & Record<BuiltinPreviewers$1, Component>;
22
14
  //#endregion
23
15
  //#region src/components/renderers/index.d.ts
24
16
  declare const NODE_RENDERERS: {
25
- readonly blockquote: _$vue.DefineComponent<BlockquoteNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<BlockquoteNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
26
- readonly break: _$vue.DefineComponent<BreakNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<BreakNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
27
- readonly code: _$vue.DefineComponent<CodeNodeRendererProps & {
17
+ readonly blockquote: import("vue").DefineComponent<BlockquoteNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BlockquoteNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ readonly break: import("vue").DefineComponent<BreakNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BreakNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ readonly code: import("vue").DefineComponent<CodeNodeRendererProps & {
28
20
  showHeader?: boolean;
29
- }, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<CodeNodeRendererProps & {
21
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CodeNodeRendererProps & {
30
22
  showHeader?: boolean;
31
23
  }> & Readonly<{}>, {
32
24
  showHeader: boolean;
33
- }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
34
- readonly delete: _$vue.DefineComponent<DeleteNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<DeleteNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
35
- readonly emphasis: _$vue.DefineComponent<EmphasisNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<EmphasisNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
36
- readonly footnoteDefinition: _$vue.DefineComponent<FootnoteDefinitionNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<FootnoteDefinitionNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
37
- readonly footnoteReference: _$vue.DefineComponent<FootnoteReferenceNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<FootnoteReferenceNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
38
- readonly heading: _$vue.DefineComponent<HeadingNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<HeadingNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
39
- readonly html: _$vue.DefineComponent<HtmlNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<HtmlNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
40
- readonly image: _$vue.DefineComponent<ImageNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ImageNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
41
- readonly inlineCode: _$vue.DefineComponent<InlineCodeNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<InlineCodeNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
42
- readonly inlineMath: _$vue.DefineComponent<InlineMathNodeRendererProps & {
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ readonly delete: import("vue").DefineComponent<DeleteNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DeleteNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ readonly emphasis: import("vue").DefineComponent<EmphasisNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<EmphasisNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ readonly footnoteDefinition: import("vue").DefineComponent<FootnoteDefinitionNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FootnoteDefinitionNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ readonly footnoteReference: import("vue").DefineComponent<FootnoteReferenceNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FootnoteReferenceNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ readonly heading: import("vue").DefineComponent<HeadingNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HeadingNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ readonly html: import("vue").DefineComponent<HtmlNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HtmlNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
+ readonly image: import("vue").DefineComponent<ImageNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
+ readonly inlineCode: import("vue").DefineComponent<InlineCodeNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InlineCodeNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ readonly inlineMath: import("vue").DefineComponent<InlineMathNodeRendererProps & {
43
35
  throttle?: number;
44
- }, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<InlineMathNodeRendererProps & {
36
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InlineMathNodeRendererProps & {
45
37
  throttle?: number;
46
38
  }> & Readonly<{}>, {
47
39
  throttle: number;
48
- }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
49
- readonly link: _$vue.DefineComponent<LinkNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<LinkNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
50
- readonly list: _$vue.DefineComponent<ListNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ListNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
51
- readonly listItem: _$vue.DefineComponent<ListItemNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ListItemNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
52
- readonly math: _$vue.DefineComponent<MathNodeRendererProps & {
40
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
+ readonly link: import("vue").DefineComponent<LinkNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
+ readonly list: import("vue").DefineComponent<ListNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ListNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
43
+ readonly listItem: import("vue").DefineComponent<ListItemNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ListItemNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
+ readonly math: import("vue").DefineComponent<MathNodeRendererProps & {
53
45
  throttle?: number;
54
- }, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<MathNodeRendererProps & {
46
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MathNodeRendererProps & {
55
47
  throttle?: number;
56
48
  }> & Readonly<{}>, {
57
49
  throttle: number;
58
- }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
59
- readonly paragraph: _$vue.DefineComponent<ParagraphNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ParagraphNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
60
- readonly strong: _$vue.DefineComponent<StrongNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<StrongNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
61
- readonly table: _$vue.DefineComponent<TableNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<TableNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
62
- readonly text: _$vue.DefineComponent<TextNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<TextNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
63
- readonly thematicBreak: _$vue.DefineComponent<ThematicBreakNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ThematicBreakNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
64
- readonly yaml: _$vue.DefineComponent<YamlNodeRendererProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<YamlNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
50
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
51
+ readonly paragraph: import("vue").DefineComponent<ParagraphNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ParagraphNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
52
+ readonly strong: import("vue").DefineComponent<StrongNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StrongNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
53
+ readonly table: import("vue").DefineComponent<TableNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TableNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
54
+ readonly text: import("vue").DefineComponent<TextNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TextNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
55
+ readonly thematicBreak: import("vue").DefineComponent<ThematicBreakNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ThematicBreakNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
56
+ readonly yaml: import("vue").DefineComponent<YamlNodeRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<YamlNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
65
57
  };
66
58
  //#endregion
67
59
  //#region src/components/index.d.ts
68
60
  declare const UI: {
69
61
  readonly Alert: {
70
- new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<_$_stream_markdown_core0.UIAlertProps & {
62
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("@stream-markdown/core").UIAlertProps & {
71
63
  open?: boolean;
72
64
  }> & Readonly<{
73
65
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
74
66
  onConfirm?: (() => any) | undefined;
75
67
  onCancel?: (() => any) | undefined;
76
- }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
68
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
77
69
  "update:open": (value: boolean) => any;
78
70
  } & {
79
71
  confirm: () => any;
80
72
  cancel: () => any;
81
- }, _$vue.PublicProps, {
73
+ }, import("vue").PublicProps, {
82
74
  icon: string;
83
75
  zIndex: number;
84
- }, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
76
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
85
77
  P: {};
86
78
  B: {};
87
79
  D: {};
88
80
  C: {};
89
81
  M: {};
90
82
  Defaults: {};
91
- }, Readonly<_$_stream_markdown_core0.UIAlertProps & {
83
+ }, Readonly<import("@stream-markdown/core").UIAlertProps & {
92
84
  open?: boolean;
93
85
  }> & Readonly<{
94
86
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
@@ -101,13 +93,13 @@ declare const UI: {
101
93
  __isFragment?: never;
102
94
  __isTeleport?: never;
103
95
  __isSuspense?: never;
104
- } & _$vue.ComponentOptionsBase<Readonly<_$_stream_markdown_core0.UIAlertProps & {
96
+ } & import("vue").ComponentOptionsBase<Readonly<import("@stream-markdown/core").UIAlertProps & {
105
97
  open?: boolean;
106
98
  }> & Readonly<{
107
99
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
108
100
  onConfirm?: (() => any) | undefined;
109
101
  onCancel?: (() => any) | undefined;
110
- }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
102
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
111
103
  "update:open": (value: boolean) => any;
112
104
  } & {
113
105
  confirm: () => any;
@@ -115,28 +107,28 @@ declare const UI: {
115
107
  }, string, {
116
108
  icon: string;
117
109
  zIndex: number;
118
- }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
110
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
119
111
  $slots: {
120
112
  default?: (props: {}) => any;
121
113
  } & {
122
114
  footer?: (props: {}) => any;
123
115
  };
124
116
  });
125
- readonly Button: _$vue.DefineComponent<UIButtonProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
126
- click: (event: MouseEvent, item?: _$_stream_markdown_core0.SelectOption | undefined) => any;
127
- }, string, _$vue.PublicProps, Readonly<UIButtonProps> & Readonly<{
128
- onClick?: ((event: MouseEvent, item?: _$_stream_markdown_core0.SelectOption | undefined) => any) | undefined;
117
+ readonly Button: import("vue").DefineComponent<UIButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
118
+ click: (event: MouseEvent, item?: import("@stream-markdown/core").SelectOption | undefined) => any;
119
+ }, string, import("vue").PublicProps, Readonly<UIButtonProps> & Readonly<{
120
+ onClick?: ((event: MouseEvent, item?: import("@stream-markdown/core").SelectOption | undefined) => any) | undefined;
129
121
  }>, {
130
122
  variant: "icon" | "text";
131
- buttonStyle: _$vue.CSSProperties;
123
+ buttonStyle: import("vue").CSSProperties;
132
124
  iconWidth: number;
133
125
  iconHeight: number;
134
- iconStyle: _$vue.CSSProperties;
135
- options: _$_stream_markdown_core0.SelectOption[];
136
- }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
137
- readonly Caret: _$vue.DefineComponent<{}, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
126
+ iconStyle: import("vue").CSSProperties;
127
+ options: import("@stream-markdown/core").SelectOption[];
128
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
129
+ readonly Caret: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
138
130
  readonly CodeBlock: {
139
- new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<CodeNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
131
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<CodeNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
140
132
  P: {};
141
133
  B: {};
142
134
  D: {};
@@ -147,7 +139,7 @@ declare const UI: {
147
139
  __isFragment?: never;
148
140
  __isTeleport?: never;
149
141
  __isSuspense?: never;
150
- } & _$vue.ComponentOptionsBase<Readonly<CodeNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
142
+ } & import("vue").ComponentOptionsBase<Readonly<CodeNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
151
143
  $slots: {
152
144
  title?: (props: {}) => any;
153
145
  } & {
@@ -159,43 +151,43 @@ declare const UI: {
159
151
  };
160
152
  });
161
153
  readonly Dropdown: {
162
- new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<_$_stream_markdown_core0.UIDropdownProps> & Readonly<{
163
- onClick?: ((event: MouseEvent, item: _$_stream_markdown_core0.SelectOption) => any) | undefined;
164
- }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
165
- click: (event: MouseEvent, item: _$_stream_markdown_core0.SelectOption) => any;
166
- }, _$vue.PublicProps, {
167
- options: _$_stream_markdown_core0.SelectOption[];
168
- }, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
154
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("@stream-markdown/core").UIDropdownProps> & Readonly<{
155
+ onClick?: ((event: MouseEvent, item: import("@stream-markdown/core").SelectOption) => any) | undefined;
156
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
157
+ click: (event: MouseEvent, item: import("@stream-markdown/core").SelectOption) => any;
158
+ }, import("vue").PublicProps, {
159
+ options: import("@stream-markdown/core").SelectOption[];
160
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
169
161
  P: {};
170
162
  B: {};
171
163
  D: {};
172
164
  C: {};
173
165
  M: {};
174
166
  Defaults: {};
175
- }, Readonly<_$_stream_markdown_core0.UIDropdownProps> & Readonly<{
176
- onClick?: ((event: MouseEvent, item: _$_stream_markdown_core0.SelectOption) => any) | undefined;
167
+ }, Readonly<import("@stream-markdown/core").UIDropdownProps> & Readonly<{
168
+ onClick?: ((event: MouseEvent, item: import("@stream-markdown/core").SelectOption) => any) | undefined;
177
169
  }>, {}, {}, {}, {}, {
178
- options: _$_stream_markdown_core0.SelectOption[];
170
+ options: import("@stream-markdown/core").SelectOption[];
179
171
  }>;
180
172
  __isFragment?: never;
181
173
  __isTeleport?: never;
182
174
  __isSuspense?: never;
183
- } & _$vue.ComponentOptionsBase<Readonly<_$_stream_markdown_core0.UIDropdownProps> & Readonly<{
184
- onClick?: ((event: MouseEvent, item: _$_stream_markdown_core0.SelectOption) => any) | undefined;
185
- }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
186
- click: (event: MouseEvent, item: _$_stream_markdown_core0.SelectOption) => any;
175
+ } & import("vue").ComponentOptionsBase<Readonly<import("@stream-markdown/core").UIDropdownProps> & Readonly<{
176
+ onClick?: ((event: MouseEvent, item: import("@stream-markdown/core").SelectOption) => any) | undefined;
177
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
178
+ click: (event: MouseEvent, item: import("@stream-markdown/core").SelectOption) => any;
187
179
  }, string, {
188
- options: _$_stream_markdown_core0.SelectOption[];
189
- }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
180
+ options: import("@stream-markdown/core").SelectOption[];
181
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
190
182
  $slots: {
191
183
  default?: (props: {}) => any;
192
184
  };
193
185
  });
194
186
  readonly ErrorComponent: {
195
- new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<UIErrorComponentProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {
196
- variant: _$_stream_markdown_core0.UIErrorVariant;
187
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<UIErrorComponentProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
188
+ variant: import("@stream-markdown/core").UIErrorVariant;
197
189
  showIcon: boolean;
198
- }, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
190
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
199
191
  P: {};
200
192
  B: {};
201
193
  D: {};
@@ -203,46 +195,46 @@ declare const UI: {
203
195
  M: {};
204
196
  Defaults: {};
205
197
  }, Readonly<UIErrorComponentProps> & Readonly<{}>, {}, {}, {}, {}, {
206
- variant: _$_stream_markdown_core0.UIErrorVariant;
198
+ variant: import("@stream-markdown/core").UIErrorVariant;
207
199
  showIcon: boolean;
208
200
  }>;
209
201
  __isFragment?: never;
210
202
  __isTeleport?: never;
211
203
  __isSuspense?: never;
212
- } & _$vue.ComponentOptionsBase<Readonly<UIErrorComponentProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {
213
- variant: _$_stream_markdown_core0.UIErrorVariant;
204
+ } & import("vue").ComponentOptionsBase<Readonly<UIErrorComponentProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
205
+ variant: import("@stream-markdown/core").UIErrorVariant;
214
206
  showIcon: boolean;
215
- }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
207
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
216
208
  $slots: {
217
209
  default?: (props: {}) => any;
218
210
  };
219
211
  });
220
- readonly Icon: _$vue.DefineComponent<UIIconProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<UIIconProps> & Readonly<{}>, {
212
+ readonly Icon: import("vue").DefineComponent<UIIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UIIconProps> & Readonly<{}>, {
221
213
  width: number;
222
214
  height: number;
223
- }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
224
- readonly Image: _$vue.DefineComponent<UIImageProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
215
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
216
+ readonly Image: import("vue").DefineComponent<UIImageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
225
217
  error: (event: Event) => any;
226
218
  load: (event: Event) => any;
227
- }, string, _$vue.PublicProps, Readonly<UIImageProps> & Readonly<{
219
+ }, string, import("vue").PublicProps, Readonly<UIImageProps> & Readonly<{
228
220
  onError?: ((event: Event) => any) | undefined;
229
221
  onLoad?: ((event: Event) => any) | undefined;
230
222
  }>, {
231
223
  preview: boolean;
232
224
  margin: number;
233
225
  controls: ControlsConfig;
234
- }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
226
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
235
227
  readonly Modal: {
236
- new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<UIModalProps & {
228
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<UIModalProps & {
237
229
  open?: boolean;
238
230
  }> & Readonly<{
239
231
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
240
- }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
232
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
241
233
  "update:open": (value: boolean) => any;
242
- }, _$vue.PublicProps, {
234
+ }, import("vue").PublicProps, {
243
235
  zIndex: number;
244
236
  transition: string;
245
- }, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
237
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
246
238
  P: {};
247
239
  B: {};
248
240
  D: {};
@@ -260,16 +252,16 @@ declare const UI: {
260
252
  __isFragment?: never;
261
253
  __isTeleport?: never;
262
254
  __isSuspense?: never;
263
- } & _$vue.ComponentOptionsBase<Readonly<UIModalProps & {
255
+ } & import("vue").ComponentOptionsBase<Readonly<UIModalProps & {
264
256
  open?: boolean;
265
257
  }> & Readonly<{
266
258
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
267
- }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
259
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
268
260
  "update:open": (value: boolean) => any;
269
261
  }, string, {
270
262
  zIndex: number;
271
263
  transition: string;
272
- }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
264
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
273
265
  $slots: {
274
266
  title?: (props: {}) => any;
275
267
  } & {
@@ -280,35 +272,35 @@ declare const UI: {
280
272
  default?: (props: {}) => any;
281
273
  };
282
274
  });
283
- readonly Segmented: _$vue.DefineComponent<UISegmentedProps & {
275
+ readonly Segmented: import("vue").DefineComponent<UISegmentedProps & {
284
276
  value?: string;
285
- }, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
277
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
286
278
  "update:value": (value: string) => any;
287
279
  } & {
288
280
  change: (value: string) => any;
289
- }, string, _$vue.PublicProps, Readonly<UISegmentedProps & {
281
+ }, string, import("vue").PublicProps, Readonly<UISegmentedProps & {
290
282
  value?: string;
291
283
  }> & Readonly<{
292
284
  "onUpdate:value"?: ((value: string) => any) | undefined;
293
285
  onChange?: ((value: string) => any) | undefined;
294
286
  }>, {
295
- buttonStyle: _$vue.CSSProperties;
296
- options: _$_stream_markdown_core0.SelectOption[];
297
- }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
298
- readonly Spin: _$vue.DefineComponent<{}, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
287
+ buttonStyle: import("vue").CSSProperties;
288
+ options: import("@stream-markdown/core").SelectOption[];
289
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
290
+ readonly Spin: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
299
291
  readonly Table: {
300
- new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<_$_stream_markdown_core0.UITableProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
292
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("@stream-markdown/core").UITableProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
301
293
  P: {};
302
294
  B: {};
303
295
  D: {};
304
296
  C: {};
305
297
  M: {};
306
298
  Defaults: {};
307
- }, Readonly<_$_stream_markdown_core0.UITableProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
299
+ }, Readonly<import("@stream-markdown/core").UITableProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
308
300
  __isFragment?: never;
309
301
  __isTeleport?: never;
310
302
  __isSuspense?: never;
311
- } & _$vue.ComponentOptionsBase<Readonly<_$_stream_markdown_core0.UITableProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
303
+ } & import("vue").ComponentOptionsBase<Readonly<import("@stream-markdown/core").UITableProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
312
304
  $slots: {
313
305
  'header-cell'?: (props: {
314
306
  cell: unknown;
@@ -323,21 +315,21 @@ declare const UI: {
323
315
  };
324
316
  });
325
317
  readonly Tooltip: {
326
- new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<_$_stream_markdown_core0.UITooltipProps> & Readonly<{}>, {
318
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("@stream-markdown/core").UITooltipProps> & Readonly<{}>, {
327
319
  show: () => void;
328
320
  hide: () => void;
329
- }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {
321
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
330
322
  trigger: "hover" | "click";
331
323
  placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
332
324
  delay: number | [number, number];
333
- }, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
325
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
334
326
  P: {};
335
327
  B: {};
336
328
  D: {};
337
329
  C: {};
338
330
  M: {};
339
331
  Defaults: {};
340
- }, Readonly<_$_stream_markdown_core0.UITooltipProps> & Readonly<{}>, {
332
+ }, Readonly<import("@stream-markdown/core").UITooltipProps> & Readonly<{}>, {
341
333
  show: () => void;
342
334
  hide: () => void;
343
335
  }, {}, {}, {}, {
@@ -348,14 +340,14 @@ declare const UI: {
348
340
  __isFragment?: never;
349
341
  __isTeleport?: never;
350
342
  __isSuspense?: never;
351
- } & _$vue.ComponentOptionsBase<Readonly<_$_stream_markdown_core0.UITooltipProps> & Readonly<{}>, {
343
+ } & import("vue").ComponentOptionsBase<Readonly<import("@stream-markdown/core").UITooltipProps> & Readonly<{}>, {
352
344
  show: () => void;
353
345
  hide: () => void;
354
- }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {
346
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
355
347
  trigger: "hover" | "click";
356
348
  placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
357
349
  delay: number | [number, number];
358
- }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
350
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
359
351
  $slots: {
360
352
  default?: (props: {}) => any;
361
353
  } & {
@@ -363,13 +355,13 @@ declare const UI: {
363
355
  };
364
356
  });
365
357
  readonly ZoomContainer: {
366
- new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<UIZoomContainerProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {
358
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<UIZoomContainerProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
367
359
  interactive: boolean;
368
360
  showControl: boolean;
369
361
  controlSize: "vanilla" | "large";
370
- position: _$_stream_markdown_core0.ZoomControlPosition;
371
- containerStyle: _$vue.CSSProperties;
372
- }, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
362
+ position: import("@stream-markdown/core").ZoomControlPosition;
363
+ containerStyle: import("vue").CSSProperties;
364
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
373
365
  P: {};
374
366
  B: {};
375
367
  D: {};
@@ -380,19 +372,19 @@ declare const UI: {
380
372
  interactive: boolean;
381
373
  showControl: boolean;
382
374
  controlSize: "vanilla" | "large";
383
- position: _$_stream_markdown_core0.ZoomControlPosition;
384
- containerStyle: _$vue.CSSProperties;
375
+ position: import("@stream-markdown/core").ZoomControlPosition;
376
+ containerStyle: import("vue").CSSProperties;
385
377
  }>;
386
378
  __isFragment?: never;
387
379
  __isTeleport?: never;
388
380
  __isSuspense?: never;
389
- } & _$vue.ComponentOptionsBase<Readonly<UIZoomContainerProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {
381
+ } & import("vue").ComponentOptionsBase<Readonly<UIZoomContainerProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
390
382
  interactive: boolean;
391
383
  showControl: boolean;
392
384
  controlSize: "vanilla" | "large";
393
- position: _$_stream_markdown_core0.ZoomControlPosition;
394
- containerStyle: _$vue.CSSProperties;
395
- }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
385
+ position: import("@stream-markdown/core").ZoomControlPosition;
386
+ containerStyle: import("vue").CSSProperties;
387
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
396
388
  $slots: {
397
389
  controls?: (props: {
398
390
  iconWidth?: undefined;
@@ -410,10 +402,10 @@ declare const UI: {
410
402
  };
411
403
  });
412
404
  };
413
- declare const NodeList: _$vue.DefineComponent<NodeRendererListProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<NodeRendererListProps> & Readonly<{}>, {
405
+ declare const NodeList: import("vue").DefineComponent<NodeRendererListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NodeRendererListProps> & Readonly<{}>, {
414
406
  blockIndex: number;
415
- nodes: _$_stream_markdown_core0.ParsedNode[];
416
- }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
407
+ nodes: import("@stream-markdown/core").ParsedNode[];
408
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
417
409
  //#endregion
418
410
  //#region src/composables/use-cdn-loader.d.ts
419
411
  interface UseCdnLoaderOptions {
@@ -421,13 +413,13 @@ interface UseCdnLoaderOptions {
421
413
  }
422
414
  declare function useCdnLoader(options?: UseCdnLoaderOptions): {
423
415
  getCdnShikiUrl: () => string | undefined;
424
- loadCdnShiki: () => Promise<typeof _$shiki | undefined>;
416
+ loadCdnShiki: () => Promise<typeof import("shiki") | undefined>;
425
417
  getCdnMermaidUrl: () => string | undefined;
426
- loadCdnMermaid: () => Promise<typeof _$mermaid | undefined>;
418
+ loadCdnMermaid: () => Promise<typeof import("mermaid") | undefined>;
427
419
  getCdnBeautifulMermaidUrl: () => string | undefined;
428
- loadCdnBeautifulMermaid: () => Promise<typeof _$beautiful_mermaid0 | undefined>;
420
+ loadCdnBeautifulMermaid: () => Promise<typeof import("beautiful-mermaid") | undefined>;
429
421
  getCdnKatexUrl: () => string | undefined;
430
- loadCdnKatex: () => Promise<typeof _$katex | undefined>;
422
+ loadCdnKatex: () => Promise<typeof import("katex") | undefined>;
431
423
  getCdnKatexCssUrl: () => string | undefined;
432
424
  loadCdnKatexCss: () => void;
433
425
  };
@@ -437,26 +429,26 @@ type NodeRenderers = NodeRenderers$1<Component, NodeType$1>;
437
429
  //#endregion
438
430
  //#region src/components/icons.d.ts
439
431
  declare const ICONS: {
440
- readonly arrowLeft: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
441
- readonly check: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
442
- readonly code: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
443
- readonly collapse: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
444
- readonly copy: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
445
- readonly cornerDownLeft: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
446
- readonly download: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
447
- readonly error: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
448
- readonly externalLink: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
449
- readonly flipHorizontal: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
450
- readonly image: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
451
- readonly link: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
452
- readonly maximize: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
453
- readonly mermaid: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
454
- readonly minimize: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
455
- readonly preview: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
456
- readonly rotateLeft: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
457
- readonly x: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
458
- readonly zoomIn: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
459
- readonly zoomOut: _$vue.FunctionalComponent<_$vue.SVGAttributes, {}, any, {}>;
432
+ readonly arrowLeft: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
433
+ readonly check: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
434
+ readonly code: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
435
+ readonly collapse: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
436
+ readonly copy: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
437
+ readonly cornerDownLeft: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
438
+ readonly download: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
439
+ readonly error: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
440
+ readonly externalLink: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
441
+ readonly flipHorizontal: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
442
+ readonly image: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
443
+ readonly link: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
444
+ readonly maximize: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
445
+ readonly mermaid: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
446
+ readonly minimize: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
447
+ readonly preview: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
448
+ readonly rotateLeft: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
449
+ readonly x: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
450
+ readonly zoomIn: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
451
+ readonly zoomOut: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
460
452
  };
461
453
  //#endregion
462
454
  //#region src/types/renderer.d.ts
@@ -592,10 +584,10 @@ interface UseCodeOptionsOptions {
592
584
  language?: MaybeRefOrGetter<string>;
593
585
  }
594
586
  declare function useCodeOptions(options: UseCodeOptionsOptions): {
595
- languageCodeOptions: _$vue.ComputedRef<_$_stream_markdown_core0.CodeOptionsLanguage<_$vue.Component>>;
596
- showLanguageIcon: _$vue.ComputedRef<boolean>;
597
- showLanguageName: _$vue.ComputedRef<boolean>;
598
- showLineNumbers: _$vue.ComputedRef<boolean>;
587
+ languageCodeOptions: import("vue").ComputedRef<import("@stream-markdown/core").CodeOptionsLanguage<import("vue").Component>>;
588
+ showLanguageIcon: import("vue").ComputedRef<boolean>;
589
+ showLanguageName: import("vue").ComputedRef<boolean>;
590
+ showLineNumbers: import("vue").ComputedRef<boolean>;
599
591
  };
600
592
  //#endregion
601
593
  //#region src/composables/use-context.d.ts
@@ -613,8 +605,8 @@ declare function useControls(options: UseControlsOptions): {
613
605
  //#endregion
614
606
  //#region src/composables/use-dark-detector.d.ts
615
607
  declare function useDarkDetector(darkProp: MaybeRefOrGetter<boolean | undefined>, cssVariables: MaybeRefOrGetter<Record<string, string>>): {
616
- isDark: _$vue.ComputedRef<boolean>;
617
- isDarkProvided: _$vue.ComputedRef<boolean>;
608
+ isDark: import("vue").ComputedRef<boolean>;
609
+ isDarkProvided: import("vue").ComputedRef<boolean>;
618
610
  stop: () => void;
619
611
  };
620
612
  //#endregion
@@ -627,7 +619,7 @@ interface UseDeferredRenderOptions {
627
619
  idleTimeout?: number;
628
620
  }
629
621
  declare function useDeferredRender(options: UseDeferredRenderOptions): {
630
- shouldRender: _$vue.Ref<boolean, boolean>;
622
+ shouldRender: import("vue").Ref<boolean, boolean>;
631
623
  };
632
624
  //#endregion
633
625
  //#region src/composables/use-floating.d.ts
@@ -639,11 +631,11 @@ interface UseFloatingOptions {
639
631
  getContainer?: () => Element | HTMLElement | undefined | null;
640
632
  }
641
633
  declare function useFloating(options: UseFloatingOptions): {
642
- referenceEl: _$vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
643
- floatingEl: _$vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
644
- open: _$vue.Ref<boolean, boolean>;
645
- appendTo: _$vue.Ref<string | Element | Body | undefined, string | Element | Body | undefined>;
646
- floatingStyle: _$vue.ComputedRef<{
634
+ referenceEl: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
635
+ floatingEl: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
636
+ open: import("vue").Ref<boolean, boolean>;
637
+ appendTo: import("vue").Ref<string | Element | Body | undefined, string | Element | Body | undefined>;
638
+ floatingStyle: import("vue").ComputedRef<{
647
639
  position: "absolute" | "fixed";
648
640
  top: string;
649
641
  left: string;
@@ -669,7 +661,7 @@ interface UseKatexOptions {
669
661
  cdnOptions?: CdnOptions$1;
670
662
  }
671
663
  declare function useKatex(options: UseKatexOptions): {
672
- installed: _$vue.Ref<boolean, boolean>;
664
+ installed: import("vue").Ref<boolean, boolean>;
673
665
  render: (code: string, options?: KatexOptions$2) => Promise<{
674
666
  html?: string;
675
667
  error?: string;
@@ -681,7 +673,7 @@ declare function useKatex(options: UseKatexOptions): {
681
673
  //#endregion
682
674
  //#region src/composables/use-locale-detector.d.ts
683
675
  declare function useLocaleDetector(localeProp: MaybeRefOrGetter<StreamMarkdownProps['locale']>): {
684
- locale: _$vue.ComputedRef<string | LocaleConfig$1>;
676
+ locale: import("vue").ComputedRef<string | LocaleConfig$1>;
685
677
  };
686
678
  //#endregion
687
679
  //#region src/composables/use-math-renderer.d.ts
@@ -692,9 +684,9 @@ interface UseMathRendererOptions {
692
684
  throttle?: MaybeRefOrGetter<number>;
693
685
  }
694
686
  declare function useMathRenderer(options: UseMathRendererOptions): {
695
- html: _$vue.ComputedRef<string>;
696
- error: _$vue.ComputedRef<boolean>;
697
- errorMessage: _$vue.ComputedRef<string>;
687
+ html: import("vue").ComputedRef<string>;
688
+ error: import("vue").ComputedRef<boolean>;
689
+ errorMessage: import("vue").ComputedRef<string>;
698
690
  };
699
691
  //#endregion
700
692
  //#region src/composables/use-medium-zoom.d.ts
@@ -704,12 +696,12 @@ interface UseMediumZoomOptions {
704
696
  close?: () => void;
705
697
  }
706
698
  declare function useMediumZoom(options: UseMediumZoomOptions): {
707
- isAnimating: _$vue.Ref<boolean, boolean>;
708
- elementStyle: _$vue.ComputedRef<{
699
+ isAnimating: import("vue").Ref<boolean, boolean>;
700
+ elementStyle: import("vue").ComputedRef<{
709
701
  opacity: number;
710
702
  }>;
711
- elementRef: _$vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
712
- zoomElementRef: _$vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
703
+ elementRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
704
+ zoomElementRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
713
705
  zoomIn: () => Promise<void>;
714
706
  zoomOut: () => Promise<void>;
715
707
  };
@@ -722,10 +714,10 @@ interface UseMermaidOptions {
722
714
  isDark?: MaybeRefOrGetter<boolean>;
723
715
  }
724
716
  declare function useMermaid(options?: UseMermaidOptions): {
725
- installed: _$vue.Ref<boolean, boolean>;
717
+ installed: import("vue").Ref<boolean, boolean>;
726
718
  getMermaid: () => Promise<void>;
727
- parseMermaid: (code: string) => Promise<_$_stream_markdown_mermaid0.MermaidParseResult>;
728
- renderMermaid: (code: string) => Promise<_$_stream_markdown_mermaid0.MermaidRenderResult>;
719
+ parseMermaid: (code: string) => Promise<import("@stream-markdown/mermaid").MermaidParseResult>;
720
+ renderMermaid: (code: string) => Promise<import("@stream-markdown/mermaid").MermaidRenderResult>;
729
721
  saveMermaid: (format: "svg" | "png", code: string, onError?: (error: Error) => void) => Promise<void>;
730
722
  preload: () => Promise<void>;
731
723
  dispose: () => void;
@@ -739,10 +731,10 @@ interface UseSanitizersOptions {
739
731
  isImage?: MaybeRefOrGetter<boolean | undefined>;
740
732
  }
741
733
  declare function useSanitizers(options: UseSanitizersOptions): {
742
- hardenOptions: _$vue.ComputedRef<_$_stream_markdown_core0.HardenOptions<unknown>>;
734
+ hardenOptions: import("vue").ComputedRef<import("@stream-markdown/core").HardenOptions<unknown>>;
743
735
  transformHardenUrl: (url: string) => string | null;
744
- transformedUrl: _$vue.ComputedRef<string | null>;
745
- isHardenUrl: _$vue.ComputedRef<boolean>;
736
+ transformedUrl: import("vue").ComputedRef<string | null>;
737
+ isHardenUrl: import("vue").ComputedRef<boolean>;
746
738
  };
747
739
  //#endregion
748
740
  //#region src/composables/use-shiki.d.ts
@@ -754,10 +746,10 @@ interface UseShikiOptions {
754
746
  }
755
747
  declare function disposeShikiHighlighter(): void;
756
748
  declare function useShiki(options?: UseShikiOptions): {
757
- installed: _$vue.Ref<boolean, boolean>;
758
- getShiki: () => Promise<typeof _$shiki>;
759
- getHighlighter: () => Promise<_$shiki.Highlighter>;
760
- codeToTokens: (code: string) => Promise<_$shiki.TokensResult>;
749
+ installed: import("vue").Ref<boolean, boolean>;
750
+ getShiki: () => Promise<typeof import("shiki")>;
751
+ getHighlighter: () => Promise<import("shiki").Highlighter>;
752
+ codeToTokens: (code: string) => Promise<import("shiki").TokensResult>;
761
753
  preload: () => Promise<void>;
762
754
  dispose: () => void;
763
755
  };
@@ -767,19 +759,19 @@ interface UseTailwindV3ThemeOptions {
767
759
  element?: () => HTMLElement | undefined;
768
760
  }
769
761
  declare function useTailwindV3Theme(options: UseTailwindV3ThemeOptions): {
770
- element: _$vue.ComputedRef<HTMLElement | undefined>;
771
- cssVariables: _$vue.Ref<Record<string, string>, Record<string, string>>;
762
+ element: import("vue").ComputedRef<HTMLElement | undefined>;
763
+ cssVariables: import("vue").Ref<Record<string, string>, Record<string, string>>;
772
764
  generateCSS: () => void;
773
765
  stop: () => void;
774
766
  };
775
767
  //#endregion
776
768
  //#region src/composables/use-zoom.d.ts
777
769
  declare function useZoom(options?: ZoomOptions): {
778
- zoom: _$vue.Ref<number, number>;
779
- translateX: _$vue.Ref<number, number>;
780
- translateY: _$vue.Ref<number, number>;
781
- isDragging: _$vue.Ref<boolean, boolean>;
782
- transformStyle: _$vue.ComputedRef<{
770
+ zoom: import("vue").Ref<number, number>;
771
+ translateX: import("vue").Ref<number, number>;
772
+ translateY: import("vue").Ref<number, number>;
773
+ isDragging: import("vue").Ref<boolean, boolean>;
774
+ transformStyle: import("vue").ComputedRef<{
783
775
  transform: string;
784
776
  }>;
785
777
  zoomIn: () => void;
@@ -803,12 +795,12 @@ interface StreamMarkdownExpose {
803
795
  getParsedNodes: () => ParsedNode[];
804
796
  getProcessedContent: () => string;
805
797
  }
806
- declare const __VLS_export: _$vue.DefineComponent<StreamMarkdownProps, StreamMarkdownExpose, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
798
+ declare const __VLS_export: import("vue").DefineComponent<StreamMarkdownProps, StreamMarkdownExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
807
799
  copied: (content: string) => any;
808
- }, string, _$vue.PublicProps, Readonly<StreamMarkdownProps> & Readonly<{
800
+ }, string, import("vue").PublicProps, Readonly<StreamMarkdownProps> & Readonly<{
809
801
  onCopied?: ((content: string) => any) | undefined;
810
802
  }>, {
811
- nodeRenderers: Partial<Record<"delete" | "text" | "blockquote" | "break" | "code" | "definition" | "emphasis" | "footnoteDefinition" | "footnoteReference" | "heading" | "html" | "image" | "imageReference" | "inlineCode" | "link" | "linkReference" | "list" | "listItem" | "paragraph" | "strong" | "table" | "tableCell" | "tableRow" | "thematicBreak" | "yaml" | "inlineMath" | "math", _$vue.Component>>;
803
+ nodeRenderers: Partial<Record<"delete" | "text" | "blockquote" | "break" | "code" | "definition" | "emphasis" | "footnoteDefinition" | "footnoteReference" | "heading" | "html" | "image" | "imageReference" | "inlineCode" | "link" | "linkReference" | "list" | "listItem" | "paragraph" | "strong" | "table" | "tableCell" | "tableRow" | "thematicBreak" | "yaml" | "inlineMath" | "math", import("vue").Component>>;
812
804
  controls: ControlsConfig;
813
805
  content: string;
814
806
  previewers: PreviewerConfig;
@@ -816,14 +808,14 @@ declare const __VLS_export: _$vue.DefineComponent<StreamMarkdownProps, StreamMar
816
808
  mode: "static" | "streaming";
817
809
  icons: Partial<Icons>;
818
810
  enableAnimate: boolean;
819
- animation: _$_stream_markdown_core0.AnimationType;
820
- animationSplit: _$_stream_markdown_core0.AnimationSplit;
821
- }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
811
+ animation: import("@stream-markdown/core").AnimationType;
812
+ animationSplit: import("@stream-markdown/core").AnimationSplit;
813
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
822
814
  declare const _default: typeof __VLS_export;
823
815
  //#endregion
824
816
  //#region src/locales.d.ts
825
- declare const localeMessages: _$vue.Ref<LocaleConfig$1 | undefined, LocaleConfig$1 | undefined>;
826
- declare const currentLocale: _$vue.Ref<SupportedLanguage$1, SupportedLanguage$1>;
817
+ declare const localeMessages: import("vue").Ref<LocaleConfig$1 | undefined, LocaleConfig$1 | undefined>;
818
+ declare const currentLocale: import("vue").Ref<SupportedLanguage$1, SupportedLanguage$1>;
827
819
  declare function loadLocaleMessages(language: string | LocaleConfig$1): Promise<void>;
828
820
  //#endregion
829
821
  //#region src/utils.d.ts