@mathcrowd/mmarked 3.0.1 → 3.1.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.
package/dist/index.d.ts CHANGED
@@ -27,6 +27,7 @@ declare const renderMarkdown: (text: string) => {
27
27
 
28
28
  /**
29
29
  * convert TeX to SVG in HTML.
30
+ * 使用预配置的单例实例,提升性能并保持配置一致性
30
31
  */
31
32
  declare const tex2svg: (html: string) => string;
32
33
 
@@ -69,6 +70,10 @@ interface UsageStats {
69
70
  /** Session ID for aggregating stats across deployments */
70
71
  sessionId?: string;
71
72
  }
73
+ /**
74
+ * Stop usage tracking timer (for testing cleanup)
75
+ */
76
+ declare function stopUsageTracking(): void;
72
77
  /**
73
78
  * Track function call (internal use)
74
79
  */
@@ -106,5 +111,5 @@ declare function clearValidationCache(): void;
106
111
  */
107
112
  declare function resetUsageStats(): void;
108
113
 
109
- export { UNLICENSED_WARNING_INTERVAL, clearValidationCache, configureLicense, getLicenseConfig, getWarningIfNeeded, isLicensed, renderMarkdown, renderMarkdownCompact, resetUsageStats, setUnlicensedWarningInterval, tex2svg, trackFunctionCall, validateLicense };
114
+ export { UNLICENSED_WARNING_INTERVAL, clearValidationCache, configureLicense, getLicenseConfig, getWarningIfNeeded, isLicensed, renderMarkdown, renderMarkdownCompact, resetUsageStats, setUnlicensedWarningInterval, stopUsageTracking, tex2svg, trackFunctionCall, validateLicense };
110
115
  export type { LicenseConfig, LicenseValidationResult, UsageStats };