import { ITelegramClient } from '../../client.types.js';
import { InputStarGift } from '../../types/index.js';
import { Message } from '../../types/messages/message.js';
/**
 * Upgrades a star gift to a unique 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 upgraded gift, if one was generated.
 */
export declare function upgradeStarGift(client: ITelegramClient, params: {
    gift: InputStarGift;
    /**
     * Whether to retain the original details of the gift
     * (like sender, recipient, date, message)
     */
    keepOriginalDetails?: boolean;
    /**
     * Whether to dispatch the new message event
     * to the client's update handler.
     */
    shouldDispatch?: true;
}): Promise<Message | null>;
