import { ITelegramClient } from '../../client.types.js'; import { ChatInviteLinkMember, InputPeerLike } from '../../types/index.js'; import { getInviteLinkMembers } from './get-invite-link-members.js'; /** * Iterate over users who have joined * the chat with the given invite link. * * @param chatId Chat ID * @param params Additional params */ export declare function iterInviteLinkMembers(client: ITelegramClient, chatId: InputPeerLike, params?: Parameters[2] & { /** * Maximum number of users to return * * @default `Infinity`, i.e. all users are fetched */ limit?: number; /** * Chunk size which will be passed to `messages.getChatInviteImporters`. * You shouldn't usually care about this. * * @default 100. */ chunkSize?: number; }): AsyncIterableIterator;