UNPKG

@gguf/claw

Version:

Multi-channel AI gateway with extensible messaging integrations

8 lines (7 loc) 499 B
import type { OpenClawConfig } from "./config.js"; import type { WhatsAppConfig } from "./types.js"; export type MergeSectionOptions<T> = { unsetOnUndefined?: Array<keyof T>; }; export declare function mergeConfigSection<T extends Record<string, unknown>>(base: T | undefined, patch: Partial<T>, options?: MergeSectionOptions<T>): T; export declare function mergeWhatsAppConfig(cfg: OpenClawConfig, patch: Partial<WhatsAppConfig>, options?: MergeSectionOptions<WhatsAppConfig>): OpenClawConfig;