ts-mls
Version:
[](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [](https://badge.fury.io/js/ts-mls) [ • 1.32 kB
TypeScript
import { ClientState } from "./clientState";
import { CiphersuiteImpl } from "./crypto/ciphersuite";
import { MLSMessage } from "./message";
import { Proposal } from "./proposal";
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: {
secretTree: import("./secretTree").SecretTree;
groupContext: import("./groupContext").GroupContext;
keySchedule: import("./keySchedule").KeySchedule;
ratchetTree: import("./ratchetTree").RatchetTree;
privatePath: import("./privateKeyPath").PrivateKeyPath;
signaturePrivateKey: Uint8Array;
unappliedProposals: import("./unappliedProposals").UnappliedProposals;
confirmationTag: Uint8Array;
historicalReceiverData: Map<bigint, import("./clientState").EpochReceiverData>;
groupActiveState: import("./clientState").GroupActiveState;
clientConfig: import("./clientConfig").ClientConfig;
};
privateMessage: import("./privateMessage").PrivateMessage;
}>;