@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
18 lines (17 loc) • 668 B
TypeScript
import type { OpenClawConfig } from "../config/config.js";
import type { GatewayMessageChannel } from "../utils/message-channel.js";
export type ResolvedHeartbeatVisibility = {
showOk: boolean;
showAlerts: boolean;
useIndicator: boolean;
};
/**
* Resolve heartbeat visibility settings for a channel.
* Supports both deliverable channels (telegram, signal, etc.) and webchat.
* For webchat, uses channels.defaults.heartbeat since webchat doesn't have per-channel config.
*/
export declare function resolveHeartbeatVisibility(params: {
cfg: OpenClawConfig;
channel: GatewayMessageChannel;
accountId?: string;
}): ResolvedHeartbeatVisibility;