import type { InferIOCrdtKind, IOLike, JsonObject } from "@pluv/types"; import type { PluvClientOptions } from "./PluvClient"; import { PluvClient } from "./PluvClient"; export const createClient = < TIO extends IOLike, TPresence extends Record = {}, TCrdt extends InferIOCrdtKind = InferIOCrdtKind, TMetadata extends JsonObject = {}, >( options: PluvClientOptions, ): PluvClient => { return new PluvClient(options); };