import type { TgcConfig } from "../config.js"; import type { TgcSession, TgcUser, TgcDesigner, TgcGame, TgcGamePart, TgcProduct, TgcFile, TgcGameLedgerEntry, TgcPaginatedResponse } from "../types/tgc-api.js"; import { SessionManager } from "./session.js"; export declare class TgcClient { private readonly config; readonly session: SessionManager; private readonly rateLimiter; private readonly budget; constructor(config: TgcConfig); private request; private handleHttpError; authenticate(overrides?: { apiKeyId?: string; username?: string; password?: string; }): Promise; logout(): Promise; getUser(userId: string): Promise; getDesigners(): Promise; getProducts(category?: string): Promise; getGames(designerId: string, page?: number): Promise>; getGame(gameId: string): Promise; createGame(name: string, designerId: string, description?: string): Promise; updateGame(gameId: string, updates: { name?: string; description?: string; is_public?: boolean; }): Promise; deleteGame(gameId: string): Promise; addGamePart(gameId: string, partId: string, quantity: number, name?: string): Promise; createPrintableComponent(createApi: string, identity: string, gameId: string, name?: string, quantity?: number): Promise>; getPart(partId: string): Promise; uploadFile(folderId: string, filePath: string, filename?: string): Promise; uploadFileFromUrl(folderId: string, url: string, filename: string): Promise; uploadFileFromBuffer(folderId: string, buffer: Uint8Array, filename: string): Promise; getGameLedgerEntries(gameId: string): Promise; }