import { AxiosResponse } from "axios"; export declare type PlaypassResponse = { result?: boolean | undefined; error?: string | undefined; }; export declare type Game = { id: string; name: string; config: { [key: string]: string; }; } & PlaypassResponse; export declare type Games = { items: Game[]; } & PlaypassResponse; export declare type CustomDomain = { customDomain: { id: string; domain: string; config: { certificateId: string; distributionId: string; customDomainStatus: "PENDING" | "VALID"; }; }; distributionDeployed: boolean | undefined; distributionDomainName: string | undefined; recordsRequired: { type: "CNAME"; alias: "string"; target: "string"; }[]; } & PlaypassResponse; export declare type Deployment = { gameUrl: string; uploadUrl: string; customDomain?: CustomDomain; } & PlaypassResponse; export declare type CustomDomainVerification = { status: "PENDING" | "VALID"; } & PlaypassResponse; export default class PlaypassClient { private authToken; private host; constructor(authToken: string, host?: string); checkGame(game: string): Promise; getGames(): Promise; create(game: string): Promise; upload(gameId: string, prefix?: string): Promise; updateGame(gameId: string, name: string): Promise; deleteGame(gameId: string): Promise; getCustomDomain(gameId: string): Promise; customDomain(gameId: string, customDomain: string): Promise; validateCustomDomain(gameId: string): Promise; deleteDomain(gameId: string): Promise>; private static validateResponse; }