import type { BotConfig } from "../config/config.js"; import type { TelegramGroupConfig } from "../config/types.telegram.js"; type TelegramGroups = Record; type MigrationScope = "account" | "global"; export type TelegramGroupMigrationResult = { migrated: boolean; skippedExisting: boolean; scopes: MigrationScope[]; }; export declare function migrateTelegramGroupsInPlace(groups: TelegramGroups | undefined, oldChatId: string, newChatId: string): { migrated: boolean; skippedExisting: boolean; }; export declare function migrateTelegramGroupConfig(params: { cfg: BotConfig; accountId?: string | null; oldChatId: string; newChatId: string; }): TelegramGroupMigrationResult; export {};