import { type Endpoint } from '@colyseus/core'; export type AuthConfig = { oauth: string[]; register: boolean; anonymous: boolean; }; export interface PlaygroundOptions { /** Endpoint path prefix — required to namespace the routes when spread into `createRouter`, honored at root express mounts. Under a path mount (`app.use("/playground", playground())`) the mount path takes over. Defaults to `''`. */ prefix?: string; /** Better-call middleware applied to every playground endpoint — use for auth gating. */ use?: any[]; } export declare function playground(opts?: PlaygroundOptions): import("@colyseus/core").ExpressMiddleware & Record;