@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
18 lines (17 loc) • 717 B
TypeScript
import type { loadConfig } from "../../config/config.js";
export declare function getSessionSnapshot(cfg: ReturnType<typeof loadConfig>, from: string, _isHeartbeat?: boolean, ctx?: {
sessionKey?: string | null;
isGroup?: boolean;
messageThreadId?: string | number | null;
threadLabel?: string | null;
threadStarterBody?: string | null;
parentSessionKey?: string | null;
}): {
key: string;
entry: import("../../config/sessions.js").SessionEntry;
fresh: boolean;
resetPolicy: import("../../config/sessions.js").SessionResetPolicy;
resetType: import("../../config/sessions.js").SessionResetType;
dailyResetAt: number | undefined;
idleExpiresAt: number | undefined;
};