crossnote 0.9.33 → 0.9.34

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.
@@ -0,0 +1,7 @@
1
+ export default class LruCache {
2
+ private readonly maxEntries;
3
+ private readonly entries;
4
+ constructor(maxEntries: number);
5
+ get(key: string): string | undefined;
6
+ set(key: string, value: string): void;
7
+ }
@@ -45,11 +45,14 @@ export declare class Notebook {
45
45
  markdownYoRenderer: MarkdownRenderer | null;
46
46
  private markdownYoRendererPromise;
47
47
  private markdownEngines;
48
+ private tocMarkdownIt;
49
+ private tocMarkdownItOptions;
48
50
  private constructor();
49
51
  private init;
50
52
  static init(args: NotebookConstructorArgs): Promise<Notebook>;
51
53
  private initConfig;
52
54
  initMarkdownIt(options?: ExtendedMarkdownItOptions): MarkdownIt;
55
+ getTocMarkdownIt(): MarkdownIt;
53
56
  initFs(_fs?: FileSystemApi): void;
54
57
  private initMarkdownYo;
55
58
  private destroyMarkdownYo;
@@ -1,2 +1,4 @@
1
+ import 'monaco-editor/esm/vs/editor/editor.all.js';
2
+ import 'monaco-editor/esm/vs/basic-languages/markdown/markdown.contribution.js';
1
3
  import React from 'react';
2
4
  export default function MarkdownEditor(): React.ReactPortal | null;
@@ -0,0 +1 @@
1
+ export {};