import type { loadConfig } from "agdi/plugin-sdk/config-runtime"; import type { resolveAgentRoute } from "agdi/plugin-sdk/routing"; import type { WebInboundMsg } from "../types.js"; import type { GroupHistoryEntry } from "./process-message.js"; export declare function maybeBroadcastMessage(params: { cfg: ReturnType; msg: WebInboundMsg; peerId: string; route: ReturnType; groupHistoryKey: string; groupHistories: Map; processMessage: (msg: WebInboundMsg, route: ReturnType, groupHistoryKey: string, opts?: { groupHistory?: GroupHistoryEntry[]; suppressGroupHistoryClear?: boolean; }) => Promise; }): Promise;