@fileverse-dev/ddoc 3.0.87-page-count-2 → 3.0.87-page-count-3

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.
@@ -1,4 +1,9 @@
1
+ interface PageCounter {
2
+ estimatePageCount: (content: string) => Promise<number>;
3
+ destroy: () => void;
4
+ }
1
5
  export declare const splitContentIntoPrintSections: (content: string) => string[];
2
- export declare const estimateContentPrintPageCount: (content: string) => Promise<number>;
6
+ export declare const createPageCounter: () => PageCounter;
3
7
  export declare const handlePrint: (slides: string[]) => void;
4
8
  export declare const handleContentPrint: (content: string) => void;
9
+ export {};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "3.0.87-page-count-2",
5
+ "version": "3.0.87-page-count-3",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {