import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { LobbyVisibility } from "./lobbyvisibility.js"; import { Region } from "./region.js"; /** * UserId or email address for the user that created the lobby. */ export type LobbyV3CreatedBy = string | number; /** * A lobby object allows you to store and manage metadata for your rooms. */ export type LobbyV3 = { /** * User-defined identifier for a lobby. */ shortCode: string; /** * When the lobby was created. */ createdAt: Date; /** * UserId or email address for the user that created the lobby. */ createdBy: string | number; roomConfig?: string | null | undefined; /** * Types of lobbies a player can create. * * @remarks * * `private`: the player who created the room must share the roomId with their friends * * `public`: visible in the public lobby list, anyone can join * * `local`: for testing with a server running locally */ visibility: LobbyVisibility; region: Region; /** * Unique identifier to a game session or match. Use the default system generated ID or overwrite it with your own. * * @remarks * Note: error will be returned if `roomId` is not globally unique. */ roomId: string; /** * System generated unique identifier for an application. */ appId: string; }; /** @internal */ export declare const LobbyV3CreatedBy$inboundSchema: z.ZodType; export declare function lobbyV3CreatedByFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const LobbyV3$inboundSchema: z.ZodType; export declare function lobbyV3FromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=lobbyv3.d.ts.map