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

9 lines (8 loc) 494 B
import { ClientState } from "../../src/clientState"; import { CiphersuiteImpl } from "../../src/crypto/ciphersuite"; export declare function testEveryoneCanMessageEveryone(clients: ClientState[], impl: CiphersuiteImpl): Promise<{ updatedGroups: ClientState[]; }>; export declare function cannotMessageAnymore(state: ClientState, impl: CiphersuiteImpl): Promise<void>; export declare function shuffledIndices<T>(arr: T[]): number[]; export declare function getRandomElement<T>(arr: T[]): T;