@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
12 lines (11 loc) • 511 B
TypeScript
import type { OpenClawConfig } from "../config/config.js";
import type { SessionChatType, SessionEntry } from "../config/sessions.js";
export type SessionSendPolicyDecision = "allow" | "deny";
export declare function normalizeSendPolicy(raw?: string | null): SessionSendPolicyDecision | undefined;
export declare function resolveSendPolicy(params: {
cfg: OpenClawConfig;
entry?: SessionEntry;
sessionKey?: string;
channel?: string;
chatType?: SessionChatType;
}): SessionSendPolicyDecision;