import Response from "../util/Response"; import { AxiosPromise } from "axios"; declare class DiscordMarketplace { /** * Search for Discord servers available for sponsorship. */ static listListings(params?: Record): AxiosPromise>; /** * List a Discord server in the marketplace (Owner). */ static createListing(data: object): AxiosPromise>; /** * Get details for a specific server listing. */ static viewListing(id: string): AxiosPromise>; /** * Update listing settings like price or auto-approve (Owner). */ static updateListing(id: string, data: object): AxiosPromise>; /** * Remove a server from the marketplace (Owner). */ static deleteListing(id: string): AxiosPromise>; /** * List sponsored post orders. Use params { mode: 'buyer' | 'seller' }. */ static listOrders(params?: Record): AxiosPromise>; /** * Submit a post to a Discord server for sponsorship (Game Developer). */ static createOrder(data: object): AxiosPromise>; /** * Get details for a specific order. */ static viewOrder(id: string): AxiosPromise>; /** * Approve and publish a sponsored post (Owner). */ static approveOrder(id: string): AxiosPromise>; /** * Reject a sponsored post (Owner). */ static rejectOrder(id: string, data: { reason: string; }): AxiosPromise>; /** * Request changes to the post content (Owner). */ static requestChanges(id: string, data: { reason: string; }): AxiosPromise>; /** * Resubmit a post after making requested changes (Game Developer). */ static resubmitOrder(id: string): AxiosPromise>; /** * Get available text channels for a specific Discord listing. */ static getChannels(id: string): AxiosPromise>; } export default DiscordMarketplace;