//#region extensions/weixin/src/config-surface.ts
const weixinConfigSurface = { buildConfigSurface(cfg) {
	const weixin = cfg.channels?.weixin;
	return {
		enabled: weixin?.enabled ?? false,
		dmPolicy: weixin?.dmPolicy || "open",
		allowFrom: weixin?.allowFrom || [],
		debug: weixin?.debug ?? false,
		streamMode: weixin?.streamMode ?? "partial",
		historyLimit: weixin?.historyLimit ?? 50,
		textChunkLimit: weixin?.textChunkLimit ?? 4e3,
		routeTag: weixin?.routeTag,
		accounts: weixin?.accounts || {}
	};
} };
//#endregion
export { weixinConfigSurface };

//# sourceMappingURL=config-surface.js.map