import { ITelegramClient } from '../../client.types.js'; import { ChatPreview } from '../../types/index.js'; /** * Get preview information about a private chat. * * @param inviteLink Invite link * @throws MtArgumentError In case invite link has invalid format * @throws MtPeerNotFoundError * In case you are trying to get info about private chat that you have already joined. * Use {@link getChat} or {@link getFullChat} instead. */ export declare function getChatPreview(client: ITelegramClient, inviteLink: string): Promise;