import { t as WhatsAppConfigSchema } from "./zod-schema.providers-whatsapp-CFLRKQGr.js";
import { r as buildChannelConfigSchema } from "./config-schema-Ze4Jtkrv.js";
import "./bundled-channel-config-schema-DHQeU0Hy.js";
//#endregion
//#region extensions/whatsapp/src/config-schema.ts
const WhatsAppChannelConfigSchema = buildChannelConfigSchema(WhatsAppConfigSchema, { uiHints: {
	"": {
		label: "WhatsApp",
		help: "WhatsApp channel provider configuration for access policy and message batching behavior. Use this section to tune responsiveness and direct-message routing safety for WhatsApp chats."
	},
	dmPolicy: {
		label: "WhatsApp DM Policy",
		help: "Direct message access control (\"pairing\" recommended). \"open\" requires channels.whatsapp.allowFrom=[\"*\"]."
	},
	selfChatMode: {
		label: "WhatsApp Self-Phone Mode",
		help: "Same-phone setup (bot uses your personal WhatsApp number)."
	},
	debounceMs: {
		label: "WhatsApp Message Debounce (ms)",
		help: "Debounce window (ms) for batching rapid consecutive messages from the same sender (0 to disable)."
	},
	configWrites: {
		label: "WhatsApp Config Writes",
		help: "Allow WhatsApp to write config in response to channel events/commands (default: true)."
	}
} });
//#endregion
export { WhatsAppChannelConfigSchema as t };
