@easbot/utils 0.2.42 → 0.2.43

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.cts CHANGED
@@ -44,6 +44,8 @@ declare namespace Encode {
44
44
  declare namespace TruncateContent {
45
45
  const DEFAULT_MAX_CHARS = 4000;
46
46
  const DIRECTION: "head";
47
+ const DIR: string;
48
+ const GLOB: string;
47
49
  type Result = {
48
50
  content: string;
49
51
  truncated: false;
@@ -64,6 +66,7 @@ declare namespace TruncateContent {
64
66
  }
65
67
  function truncate(content: string, options?: Options): Promise<Result>;
66
68
  function formatHint(result: Result): string;
69
+ function cleanup(): Promise<void>;
67
70
  }
68
71
 
69
72
  declare namespace SessionTitle {
package/dist/index.d.ts CHANGED
@@ -44,6 +44,8 @@ declare namespace Encode {
44
44
  declare namespace TruncateContent {
45
45
  const DEFAULT_MAX_CHARS = 4000;
46
46
  const DIRECTION: "head";
47
+ const DIR: string;
48
+ const GLOB: string;
47
49
  type Result = {
48
50
  content: string;
49
51
  truncated: false;
@@ -64,6 +66,7 @@ declare namespace TruncateContent {
64
66
  }
65
67
  function truncate(content: string, options?: Options): Promise<Result>;
66
68
  function formatHint(result: Result): string;
69
+ function cleanup(): Promise<void>;
67
70
  }
68
71
 
69
72
  declare namespace SessionTitle {