import { Storage } from "./storage"; /** A group can be created with {@link createGroup} or {@link getGroup}. */ export interface Group { /** The group's shared storage. */ readonly storage: Storage; /** The group ID that can be used to access this group with {@link getGroup}. */ readonly groupId: string; /** The player IDs that have ever written to this group's storage. */ readonly players: Set; } /** Gets an existing group. */ export declare function getGroup(groupId: string): Promise; /** Creates a new group. */ export declare function createGroup(): Promise;