import { tl } from '../../../tl/index.js'; import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike, Message } from '../../types/index.js'; import { InputStarsAmount } from '../premium/_normalize-stars-amount.js'; /** * Create a purchase offer for a unique star gift * @param client * @param params */ export declare function sendStarGiftOffer(client: ITelegramClient, params: { /** ID of the peer to send the offer to */ peerId: InputPeerLike; /** Slug of the star gift to create an offer for */ slug: string; /** Amount of stars to offer */ price: InputStarsAmount; /** Duration of the offer in seconds */ duration: number; /** When the recipient has paid messages enabled, the maximum number of stars that you are willing to spend */ allowPaidMessages?: tl.Long; /** * Whether to dispatch the new message event * to the client's update handler. */ shouldDispatch?: true; }): Promise;