agent-afk 5.322.2 → 5.322.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,5 +1,9 @@
1
1
  import { type TelegramRoute } from './route.js';
2
2
  import type { SessionData } from './session-manager.js';
3
+ export declare function encodeRouteFilename(key: string): string;
4
+ export declare function decodeRouteFilename(stem: string): string;
3
5
  export declare function sidecarFileName(data: SessionData): string;
6
+ export declare function routeFileStem(route: TelegramRoute): string;
7
+ export declare function legacyRouteStem(route: TelegramRoute): string;
4
8
  export declare function loadSessionsFromDisk(dataDir: string, sessionData: Map<string, SessionData>, onEachRoute: (route: TelegramRoute, data: SessionData) => void): Promise<void>;
5
9
  export declare function saveSessionsToDisk(dataDir: string, sessionData: Map<string, SessionData>): Promise<void>;