import { r as buildChannelConfigSchema } from "../../config-schema-DGNvFT8C.js";
import { t as DEFAULT_ACCOUNT_ID } from "../../account-id-CRE2SEcy.js";
import { i as IMessageConfigSchema } from "../../zod-schema.providers-whatsapp-CC0aDI0z.js";
import { p as formatTrimmedAllowFromEntries } from "../../channel-config-helpers-PDuqRwGa.js";
import { c as getChatChannelMeta } from "../../core-ohkN2PYf.js";
import { t as createPluginRuntimeStore } from "../../runtime-store-CmV0OsX5.js";
import { t as resolveChannelMediaMaxBytes } from "../../media-limits-CwsQCrSP.js";
import { t as PAIRING_APPROVED_MESSAGE } from "../../pairing-message--jEQdMIX.js";
import { c as collectStatusIssuesFromLastError, r as buildComputedAccountStatusSnapshot } from "../../status-helpers-CSU570uL.js";
import "../../media-runtime-CyRdkEym.js";
import { t as chunkTextForOutbound } from "../../text-chunking-DhO9kUXq.js";
import "../../channel-status-CQ0AIASE.js";
import { f as looksLikeIMessageTargetId, h as resolveIMessageConfigDefaultTo, m as resolveIMessageConfigAllowFrom, p as normalizeIMessageMessagingTarget } from "../../conversation-id-BarM3K_f.js";
import { n as resolveIMessageGroupToolPolicy, t as resolveIMessageGroupRequireMention } from "../../group-policy-DudTLvA2.js";
import "../../config-api-68140Qo1.js";
import { t as probeIMessage } from "../../probe-C5Oz0uwm.js";
import { n as sendMessageIMessage, t as monitorIMessageProvider } from "../../monitor-0taQJunN.js";
//#region extensions/imessage/src/runtime.ts
const { setRuntime: setIMessageRuntime, getRuntime: getIMessageRuntime } = createPluginRuntimeStore({
	pluginId: "imessage",
	errorMessage: "iMessage runtime not initialized"
});
//#endregion
export { DEFAULT_ACCOUNT_ID, IMessageConfigSchema, PAIRING_APPROVED_MESSAGE, buildChannelConfigSchema, buildComputedAccountStatusSnapshot, chunkTextForOutbound, collectStatusIssuesFromLastError, formatTrimmedAllowFromEntries, getChatChannelMeta, looksLikeIMessageTargetId, monitorIMessageProvider, normalizeIMessageMessagingTarget, probeIMessage, resolveChannelMediaMaxBytes, resolveIMessageConfigAllowFrom, resolveIMessageConfigDefaultTo, resolveIMessageGroupRequireMention, resolveIMessageGroupToolPolicy, sendMessageIMessage, setIMessageRuntime };
