import { tl } from '../../../tl/index.js';
import { MaybeArray } from '../../../types/utils.js';
import { ITelegramClient } from '../../client.types.js';
import { InputPeerLike } from '../../types/index.js';
/**
 * Join a chatlist by its link
 *
 * @param link  Invite link to the chatlist
 * @param params  Additional parameters
 * @returns  Folder representing the chatlist
 */
export declare function joinChatlist(client: ITelegramClient, link: string, params?: {
    /** Chats to join from the chatlist (all by default) */
    peers?: MaybeArray<InputPeerLike>;
}): Promise<tl.RawDialogFilterChatlist>;
