import { ITelegramClient } from '../../client.types.js';
import { Message } from '../../types/messages/message.js';
import { InputText } from '../../types/misc/entities.js';
import { InputPeerLike } from '../../types/peers/peer.js';
import { StarGift } from '../../types/premium/star-gift.js';
import { default as Long } from 'long';
/**
 * Send a star gift to a user.
 *
 * > **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 sent gift, if one was generated.
 */
export declare function sendStarGift(client: ITelegramClient, params: {
    /** ID of the peer to send the gift to */
    peerId: InputPeerLike;
    /** ID of the gift to send */
    gift: Long | StarGift;
    /**
     * Whether to send the gift anonymously
     * (i.e. if the recipient chooses to display the gift
     * on their profile, your name won't be visible)
     */
    anonymous?: boolean;
    /** Message to send along with the gift */
    message?: InputText;
    /** Whether to automatically upgrade the gift to a unique star gift */
    withUpgrade?: boolean;
    /**
     * Whether to dispatch the new message event
     * to the client's update handler.
     */
    shouldDispatch?: true;
}): Promise<Message | null>;
