import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; export declare class LobbiesV2 extends ClientSDK { /** * CreatePrivateLobby * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ createPrivateLobby(security: operations.CreatePrivateLobbySecurity, requestBody: operations.CreatePrivateLobbyRequestBody, appId?: string | undefined, roomId?: string | undefined, options?: RequestOptions): Promise; /** * CreatePublicLobby * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ createPublicLobby(security: operations.CreatePublicLobbySecurity, requestBody: operations.CreatePublicLobbyRequestBody, appId?: string | undefined, roomId?: string | undefined, options?: RequestOptions): Promise; /** * CreateLocalLobby * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ createLocalLobby(security: operations.CreateLocalLobbySecurity, requestBody: operations.CreateLocalLobbyRequestBody, appId?: string | undefined, roomId?: string | undefined, options?: RequestOptions): Promise; /** * CreateLobbyDeprecated * * @remarks * Create a new lobby for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). A lobby object is a wrapper around a [room](https://hathora.dev/docs/concepts/hathora-entities#room) object. With a lobby, you get additional functionality like configuring the visibility of the room, managing the state of a match, and retrieving a list of public lobbies to display to players. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ createLobbyDeprecated(security: operations.CreateLobbyDeprecatedSecurity, createLobbyParams: components.CreateLobbyParams, appId?: string | undefined, roomId?: string | undefined, options?: RequestOptions): Promise; /** * ListActivePublicLobbiesDeprecatedV2 * * @remarks * Get all active lobbies for a an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `region`. Use this endpoint to display all public lobbies that a player can join in the game client. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ listActivePublicLobbiesDeprecatedV2(appId?: string | undefined, region?: components.Region | undefined, options?: RequestOptions): Promise>; /** * GetLobbyInfo * * @remarks * Get details for a lobby. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ getLobbyInfo(roomId: string, appId?: string | undefined, options?: RequestOptions): Promise; /** * SetLobbyState * * @remarks * Set the state of a lobby. State is intended to be set by the server and must be smaller than 1MB. Use this endpoint to store match data like live player count to enforce max number of clients or persist end-game data (i.e. winner or final scores). * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ setLobbyState(roomId: string, setLobbyStateParams: components.SetLobbyStateParams, appId?: string | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=lobbiesv2.d.ts.map