ts-mls
Version:
[](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [](https://badge.fury.io/js/ts-mls) [ • 690 B
TypeScript
import { ClientState } from "./clientState.js";
import { CiphersuiteImpl } from "./crypto/ciphersuite.js";
import { MLSMessage } from "./message.js";
import { PrivateMessage } from "./privateMessage.js";
import { Proposal } from "./proposal.js";
export declare function createProposal(state: ClientState, publicMessage: boolean, proposal: Proposal, cs: CiphersuiteImpl, authenticatedData?: Uint8Array): Promise<{
newState: ClientState;
message: MLSMessage;
}>;
export declare function createApplicationMessage(state: ClientState, message: Uint8Array, cs: CiphersuiteImpl, authenticatedData?: Uint8Array): Promise<{
newState: ClientState;
privateMessage: PrivateMessage;
}>;