import type { loadConfig } from "openclaw/plugin-sdk/config-runtime"; import type { MsgContext } from "openclaw/plugin-sdk/reply-runtime"; export declare function trackBackgroundTask(backgroundTasks: Set>, task: Promise): void; export declare function updateLastRouteInBackground(params: { cfg: ReturnType; backgroundTasks: Set>; storeAgentId: string; sessionKey: string; channel: "whatsapp"; to: string; accountId?: string; ctx?: MsgContext; warn: (obj: unknown, msg: string) => void; }): void; export declare function awaitBackgroundTasks(backgroundTasks: Set>): Promise;