import { FragmentClient } from "../client"; import { AdsWithdrawalConfirmResult, AdsWithdrawalInitResult, GatewayPriceInfo, GatewayRechargeResult, OfferResult, SubscriptionResult, TransactionResult } from "../types/results"; /** * Make an offer to buy an unlisted username, number, or gift. */ export declare function makeOffer(client: FragmentClient, itemType: number, slug: string, amount: number): Promise; /** * Cancel an active auction if no bids have been placed. */ export declare function cancelAuction(client: FragmentClient, itemType: number, slug: string): Promise; /** * Subscribe to auction updates for an item. */ export declare function subscribeToItem(client: FragmentClient, itemType: number, slug: string): Promise; /** * Unsubscribe from auction updates for an item. */ export declare function unsubscribeFromItem(client: FragmentClient, itemType: number, slug: string): Promise; /** * Initialize Ads revenue withdrawal to wallet. */ export declare function initAdsWithdrawal(client: FragmentClient, transactionId: string): Promise; /** * Confirm Ads revenue withdrawal after user approval. */ export declare function confirmAdsWithdrawal(client: FragmentClient, transactionId: string, confirmHash: string): Promise; /** * Get price info for Telegram Gateway credits. */ export declare function getGatewayPrice(client: FragmentClient, accountId: string, credits: number): Promise; /** * Recharge Telegram Gateway credits via TON payment. */ export declare function rechargeGateway(client: FragmentClient, accountId: string, credits: number): Promise; //# sourceMappingURL=marketplace.d.ts.map