UNPKG

ts-mls

Version:

[![CI](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml/badge.svg)](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [![npm version](https://badge.fury.io/js/ts-mls.svg)](https://badge.fury.io/js/ts-mls) [![Coverage Status](https://co

11 lines (10 loc) 426 B
import { ClientConfig } from "../clientConfig.js"; import { ClientState } from "../clientState.js"; /** * @deprecated Use encodeGroupState instead for binary serialization */ export declare function toJsonString(clientState: ClientState): string; /** * @deprecated Use decodeGroupState instead for binary deserialization */ export declare function fromJsonString(s: string, config: ClientConfig): ClientState | undefined;