import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike } from '../../types/index.js'; import { StarsStatus } from '../../types/premium/stars-status.js'; /** * Get 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. * * @param peerId Peer ID * @param params Additional parameters */ export declare function getStarsTransactions(client: ITelegramClient, peerId: InputPeerLike, params?: { /** * If passed, only transactions of this direction will be returned */ direction?: 'incoming' | 'outgoing'; /** * Direction to sort transactions date by (default: desc) */ sort?: 'asc' | 'desc'; /** * If passed, will only return transactions related to this subscription ID */ subscriptionId?: string; /** Pagination offset */ offset?: string; /** Whether to return transactions made in TON */ ton?: boolean; /** * Pagination limit * * @default 100 */ limit?: number; }): Promise;