import { ITelegramClient } from '../../client.types.js';
import { InputDocumentId, InputStickerSetItem, StickerSet } from '../../types/index.js';
/**
 * Replace a sticker in a sticker set with another sticker
 *
 * For bots the sticker set must have been created by this bot.
 *
 * @param sticker
 *     TDLib and Bot API compatible File ID, or a
 *     TL object representing a sticker to be removed
 * @param newSticker  New sticker to replace the old one with
 * @returns  Modfiied sticker set
 */
export declare function replaceStickerInSet(client: ITelegramClient, sticker: InputDocumentId, newSticker: InputStickerSetItem, params?: {
    /**
     * Upload progress callback
     *
     * @param uploaded  Number of bytes uploaded
     * @param total  Total file size
     */
    progressCallback?: (uploaded: number, total: number) => void;
}): Promise<StickerSet>;
