import Response from "../util/Response"; import { AxiosPromise } from "axios"; declare class Raffles { /** * List all raffles with optional filters. */ static list(params?: Record): AxiosPromise>; /** * Create a new raffle (Game Owner). */ static create(data: object): AxiosPromise>; /** * Retrieve details for a specific raffle. */ static view(id: string): AxiosPromise>; /** * Enter a raffle (User/Player). Requires Steam ID. */ static enter(id: string, data: { referral_code?: string; device_fingerprint?: string; opt_in_playtesting?: boolean; }): AxiosPromise>; /** * Get the authenticated user's entry status for a specific raffle. */ static me(id: string): AxiosPromise>; /** * Record a viral action (e.g., Steam Wishlist, Social Share). */ static performAction(id: string, data: { action_type: string; platform?: string; reference_id?: string; }): AxiosPromise>; /** * Post raffle content to social media via Glitch API. */ static shareSocially(id: string, data: { platform: string; content: string; }): AxiosPromise>; /** * Send an invitation email to a friend. */ static inviteFriend(id: string, data: { email: string; }): AxiosPromise>; /** * Add a prize tier to a raffle (Game Owner). */ static addPrize(id: string, data: object): AxiosPromise>; /** * Trigger the automated drawing process (Game Owner). */ static drawWinners(id: string): AxiosPromise>; /** * Manually select a winner for a specific prize (Live Event Mode). */ static pickWinner(id: string, data: { entry_id: string; prize_id: string; }): AxiosPromise>; /** * Get the public list of winners for a completed raffle. */ static winners(id: string): AxiosPromise>; /** * List all participants/entries for a raffle (Game Owner). */ static participants(id: string, params?: Record): AxiosPromise>; /** * Update shipping/tracking info for a prize (Game Owner). */ static fulfillPrize(entry_id: string, data: { tracking_number: string; shipping_carrier: string; }): AxiosPromise>; /** * Submit shipping address for a won prize (User/Winner). */ static updateAddress(entry_id: string, data: object): AxiosPromise>; /** * Disqualify a specific entry (Game Owner). */ static disqualify(id: string, entry_id: string, data: { reason: string; }): AxiosPromise>; /** * Check if the raffle is fully funded in the community ledger. */ static escrowStatus(id: string): AxiosPromise>; /** * Get viral loop analytics (K-Factor, Cost Per Entry). */ static analytics(id: string): AxiosPromise>; /** * Update a raffle (Game Owner). * Handles status transitions (e.g., moving from draft to active). */ static update(id: string, data: object): AxiosPromise>; } export default Raffles;