import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike, InputStarGift } from '../../types/index.js'; import { Message } from '../../types/messages/message.js'; /** * Transfer a unique star gift. * * > **Note**: this method is not indended to be used by full-fledged clients, * > as this method hides the actual invoice and payment form from the user. * > For GUI clients, you should refer to the method's source code and * > present the payment form to the user. * * @returns Service message about the transferred gift, if one was generated. */ export declare function transferStarGift(client: ITelegramClient, params: { /** Star gift to transfer */ gift: InputStarGift; /** ID of the user to transfer the gift to */ recipient: InputPeerLike; /** * Whether to dispatch the new message event * to the client's update handler. */ shouldDispatch?: true; }): Promise;