import type { OpenClawConfig } from "openclaw/plugin-sdk/core"; import type { WeComConfig } from "./utils.js"; export declare function getLegacyBotAccountId(bot: WeComConfig): string | undefined; export declare function listLegacyBotAccountIds(cfg: OpenClawConfig): string[]; export declare function hasLegacyBots(cfg: OpenClawConfig): boolean; export declare function hasLegacyBotMatrix(cfg: OpenClawConfig): boolean; export declare function findLegacyBotConfig(cfg: OpenClawConfig, accountId: string): WeComConfig; export declare function setLegacyBotAccount(cfg: OpenClawConfig, updates: Partial, accountId: string): OpenClawConfig; export declare function deleteLegacyBotAccount(cfg: OpenClawConfig, accountId: string): OpenClawConfig; export declare function clearLegacyBotCredentials(cfg: OpenClawConfig, accountId: string): { nextCfg: OpenClawConfig; cleared: boolean; };