import { tl } from '../../../tl/index.js';
import { ITelegramClient } from '../../client.types.js';
import { ArrayPaginated, ChatInviteLink, InputPeerLike, ChatInviteLinkMember } from '../../types/index.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 getInviteLinkMembers(client: ITelegramClient, chatId: InputPeerLike, params?: {
    /**
     * Invite link for which to get members
     */
    link?: string | ChatInviteLink;
    /**
     * Maximum number of users to return
     *
     * @default  100
     */
    limit?: number;
    /**
     * Offset request/join date used as an anchor for pagination.
     */
    offsetDate?: Date | number;
    /**
     * Offset user used as an anchor for pagination
     */
    offsetUser?: tl.TypeInputUser;
    /**
     * Whether to get users who have requested to join
     * the chat but weren't accepted yet
     */
    requested?: boolean;
    /**
     * Search for a user in the pending join requests list
     * (if passed, {@link requested} is assumed to be true)
     *
     * Doesn't work when {@link link} is set (Telegram limitation)
     */
    requestedSearch?: string;
}): Promise<ArrayPaginated<ChatInviteLinkMember, {
    date: number;
    user: tl.TypeInputUser;
}>>;
