import { ClientOptions, RateLimitInfo } from './client.js'; import { AccountResource } from './resources/account.js'; import { CommendResource } from './resources/commend.js'; import { ReportResource } from './resources/report.js'; import { CommentResource } from './resources/comment.js'; import { HourboostResource } from './resources/hourboost.js'; import { WatchlistResource } from './resources/watchlist.js'; import { StattrakResource } from './resources/stattrak.js'; import { LikeResource } from './resources/like.js'; import { FavoriteResource } from './resources/favorite.js'; // Re-export errors export { SinlyxeError, AuthError, RateLimitError, NotFoundError, ValidationError, ForbiddenError, ConflictError, ServiceUnavailableError } from './errors.js'; // Re-export resource types export { AccountInfo, AccountUsage, AccountResource } from './resources/account.js'; export { CommendCreateParams, CommendSession, CommendListParams, CommendResource } from './resources/commend.js'; export { CommentCreateParams, CommentSession, CommentListParams, CommentResource } from './resources/comment.js'; export { ReportCreateParams, ReportSession, ReportListParams, ReportResource } from './resources/report.js'; export { HourboostAccount, HourboostAccountAddParams, HourboostAccountUpdateSettings, HourboostGameList, HourboostGameListCreateParams, HourboostGameListUpdateParams, HourboostAccountsResource, HourboostGameListsResource, HourboostResource } from './resources/hourboost.js'; export { WatchlistEntry, WatchlistAddParams, WatchlistListParams, WatchlistResource } from './resources/watchlist.js'; export { StattrakCreateParams, StattrakSession, StattrakListParams, StattrakResource } from './resources/stattrak.js'; export { LikeResource } from './resources/like.js'; export { FavoriteResource } from './resources/favorite.js'; export { AchievementSummary, StatSummary, AchievementSession, AchievementListResponse, StatsListResponse, AchievementQueueParams, AchievementQueueResponse, AchievementListParams, AchievementListPaginatedResponse, OwnedGame, OwnedGamesResponse, StatSetParams, AchievementsStatsResource, AchievementsResource } from './resources/achievements.js'; export { ClientOptions, RateLimitInfo, Client } from './client.js'; export { verifyWebhook, createWebhookSignature } from './webhook.js'; /** * Main Sinlyxe SDK client */ declare class Sinlyxe { /** Account resource for user info and usage stats */ account: AccountResource; /** Commend bot resource */ commend: CommendResource; /** Report bot resource */ report: ReportResource; /** Comment bot resource */ comment: CommentResource; /** Hourboost resource with accounts and gamelists sub-resources */ hourboost: HourboostResource; /** Watchlist / ban checker resource */ watchlist: WatchlistResource; /** StatTrak boost resource */ stattrak: StattrakResource; /** Steam like (upvote) resource */ like: LikeResource; /** Steam favorite resource */ favorite: FavoriteResource; /** * Create a new Sinlyxe client * @param apiKey - Your Sinlyxe API key (starts with "sinlyxe_") * @param options - Client options */ constructor(apiKey: string, options?: ClientOptions); /** Rate limit info from the last request */ get rateLimit(): RateLimitInfo; /** * Verify webhook signature * @param payload - Raw request body * @param signature - X-Sinlyxe-Signature header value * @param secret - Your webhook secret * @returns True if signature is valid */ static verifyWebhook(payload: string | Buffer | Record, signature: string, secret: string): boolean; /** * Create webhook signature (for testing) * @param payload - Payload to sign * @param secret - Webhook secret * @returns Signature in format "sha256=" */ static createWebhookSignature(payload: string | Record, secret: string): string; } export default Sinlyxe; export { Sinlyxe };