import { loadConfig } from "openclaw/plugin-sdk/config-runtime"; import type { getReplyFromConfig } from "openclaw/plugin-sdk/reply-runtime"; import type { MentionConfig } from "../mentions.js"; import type { WebInboundMsg } from "../types.js"; import type { EchoTracker } from "./echo.js"; import type { GroupHistoryEntry } from "./group-gating.js"; export declare function createWebOnMessageHandler(params: { cfg: ReturnType; verbose: boolean; connectionId: string; maxMediaBytes: number; groupHistoryLimit: number; groupHistories: Map; groupMemberNames: Map>; echoTracker: EchoTracker; backgroundTasks: Set>; replyResolver: typeof getReplyFromConfig; replyLogger: ReturnType<(typeof import("openclaw/plugin-sdk/runtime-env"))["getChildLogger"]>; baseMentionConfig: MentionConfig; account: { authDir?: string; accountId?: string; }; }): (msg: WebInboundMsg) => Promise;