import type { FasedAgentConfig } from "../config/config.js";
import type { TelegramGroupConfig } from "../config/types.telegram.js";
type TelegramGroups = Record<string, TelegramGroupConfig>;
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: FasedAgentConfig;
    accountId?: string | null;
    oldChatId: string;
    newChatId: string;
}): TelegramGroupMigrationResult;
export {};
