UNPKG

@haelp/teto

Version:

A typescript-based controllable TETR.IO client.

19 lines (18 loc) 519 B
import { APIDefaults } from "."; import type { Get, Post } from "./basic"; export declare namespace Rooms { interface Room { id: string; name: string; name_safe: string; type: string; userLimit: number; userRankLimit: string; state: string; allowAnonymous: boolean; allowUnranked: boolean; players: number; count: number; } } export declare const rooms: (get: Get, _: Post, __: APIDefaults) => () => Promise<Rooms.Room[]>;