import type { InferShapeOutput, Maybe, Shape } from "./wrpcSchema"; export type WrpcRoomState = unknown> = State extends Shape ? { state: State; initialState: InferShapeOutput; } : { state?: State; initialState?: InferShapeOutput; };