import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike, ChatInviteLink } from '../../types/index.js'; /** * Revoke an invite link. * * If `link` is a primary invite link, a new invite link will be * generated automatically by Telegram * * @param chatId Chat ID * @param link Invite link to revoke * @returns If `link` is a primary invite, newly generated invite link, otherwise the revoked link */ export declare function revokeInviteLink(client: ITelegramClient, chatId: InputPeerLike, link: string | ChatInviteLink): Promise;