/**
 * Sandbox Game Token Generator
 *
 * Creates a simple JWT-like token for local development that mimics
 * the platform's game token structure. The sandbox auth will parse
 * this token to extract the game slug and user ID.
 *
 * Format: base64(header).base64(payload).signature
 * Where:
 *   - header: { "alg": "none", "typ": "sandbox" }
 *   - payload: { "sub": gameSlug, "uid": demoUserId }
 *   - signature: "sandbox" (not cryptographically verified)
 */
import type { PlatformRoleOverride } from '../../types';
/**
 * Identities the dev shell can mint sandbox tokens for.
 *
 * Platform roles (player/developer/admin) are driven by the role-cycle
 * hotkey and only make sense in `platform` mode. `anonymous` resolves to
 * the seeded `DEMO_USERS.anonymousPlayer` and is what we mint in `demo`
 * mode so demo-only APIs (`/users/demo-profile`, anonymous leaderboard
 * reads, etc.) can authenticate against an actual anonymous cohort.
 */
export type SandboxTokenIdentity = PlatformRoleOverride | 'anonymous';
export declare function createSandboxGameToken(gameSlug: string, identity?: SandboxTokenIdentity): string;
