import { AbstractWorkadventureStateCommands } from "./AbstractState"; import type { PrivatePlayerState } from "./PrivatePlayerState"; import type { PublicPlayerState } from "./PublicPlayerState"; type PlayerState = PublicPlayerState & PrivatePlayerState; export declare class WorkadventurePlayerStateCommands extends AbstractWorkadventureStateCommands { constructor(); callbacks: { type: "setPlayerVariable"; callback: (event: { key: string; value?: unknown; }) => void; }[]; saveVariable(key: K, value: PlayerState[K], options?: { public?: boolean; persist?: boolean; ttl?: number; scope?: "world" | "room"; }): Promise; } export declare const playerState: WorkadventurePlayerStateCommands & PlayerState; export {};