import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike, StarsTransaction } from '../../types/index.js'; import { getStarsTransactions } from './get-stars-transactions.js'; /** * Iterate over Telegram Stars transactions for a given peer. * * You can either pass `self` to get your own transactions, * or a chat/bot ID to get transactions of that peer. * * Wrapper over {@link getStarsTransactions} * * @param peerId Peer ID * @param params Additional parameters */ export declare function iterStarsTransactions(client: ITelegramClient, peerId: InputPeerLike, params?: Parameters[2] & { /** * Total number of boosters to fetch * * @default Infinity, i.e. fetch all boosters */ limit?: number; /** * Number of boosters to fetch per request * Usually you don't need to change this * * @default 100 */ chunkSize?: number; }): AsyncIterableIterator;