@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
17 lines (16 loc) • 763 B
TypeScript
import type { MsgContext } from "../../auto-reply/templating.js";
import type { GroupKeyResolution, SessionEntry, SessionOrigin } from "./types.js";
export declare function deriveSessionOrigin(ctx: MsgContext): SessionOrigin | undefined;
export declare function snapshotSessionOrigin(entry?: SessionEntry): SessionOrigin | undefined;
export declare function deriveGroupSessionPatch(params: {
ctx: MsgContext;
sessionKey: string;
existing?: SessionEntry;
groupResolution?: GroupKeyResolution | null;
}): Partial<SessionEntry> | null;
export declare function deriveSessionMetaPatch(params: {
ctx: MsgContext;
sessionKey: string;
existing?: SessionEntry;
groupResolution?: GroupKeyResolution | null;
}): Partial<SessionEntry> | null;