import { i as OpenClawConfig } from "./types.openclaw-Dkap9jPv.js"; import { t as resolveAccountEntry } from "./account-lookup-AwHuXBzh.js"; import { a as normalizeMainKey, c as sanitizeAgentId, d as isCronSessionKey, f as isSubagentSessionKey, i as normalizeAgentId, m as parseThreadSessionSuffix, n as buildAgentMainSessionKey, o as resolveAgentIdFromSessionKey, p as parseAgentSessionKey, r as buildGroupHistoryKey, s as resolveThreadSessionKeys, t as DEFAULT_MAIN_KEY, u as isAcpSessionKey } from "./session-key-fJM_U9Lv.js"; import { n as normalizeAccountId, r as normalizeOptionalAccountId, t as DEFAULT_ACCOUNT_ID } from "./account-id-Dh6XMgGH.js"; import { a as deriveLastRoutePolicy, i as buildAgentSessionKey, n as RoutePeer, o as resolveAgentRoute, r as RoutePeerKind, s as resolveInboundLastRouteSessionKey, t as ResolvedAgentRoute } from "./resolve-route-DYzL8phf.js"; import { i as resolveGatewayMessageChannel, r as normalizeMessageChannel } from "./message-channel-normalize-DJRT0sPp.js"; //#region src/routing/bindings.d.ts declare function listBoundAccountIds(cfg: OpenClawConfig, channelId: string): string[]; declare function resolveDefaultAgentBoundAccountId(cfg: OpenClawConfig, channelId: string): string | null; //#endregion //#region src/routing/default-account-warnings.d.ts declare function formatSetExplicitDefaultInstruction(channelKey: string): string; declare function formatSetExplicitDefaultToConfiguredInstruction(params: { channelKey: string; }): string; //#endregion //#region src/infra/outbound/base-session-key.d.ts declare function buildOutboundBaseSessionKey(params: { cfg: OpenClawConfig; agentId: string; channel: string; accountId?: string | null; peer: RoutePeer; }): string; //#endregion //#region src/infra/outbound/thread-id.d.ts declare function normalizeOutboundThreadId(value?: string | number | null): string | undefined; //#endregion export { DEFAULT_ACCOUNT_ID, DEFAULT_MAIN_KEY, type ResolvedAgentRoute, type RoutePeer, type RoutePeerKind, buildAgentMainSessionKey, buildAgentSessionKey, buildGroupHistoryKey, buildOutboundBaseSessionKey, deriveLastRoutePolicy, formatSetExplicitDefaultInstruction, formatSetExplicitDefaultToConfiguredInstruction, isAcpSessionKey, isCronSessionKey, isSubagentSessionKey, listBoundAccountIds, normalizeAccountId, normalizeAgentId, normalizeMainKey, normalizeMessageChannel, normalizeOptionalAccountId, normalizeOutboundThreadId, parseAgentSessionKey, parseThreadSessionSuffix, resolveAccountEntry, resolveAgentIdFromSessionKey, resolveAgentRoute, resolveDefaultAgentBoundAccountId, resolveGatewayMessageChannel, resolveInboundLastRouteSessionKey, resolveThreadSessionKeys, sanitizeAgentId };