import { BackendSession, MpcSettings } from "mpc-framework-common"; import { BufferQueue } from "emp-wasm"; import EmpCircuit from "./EmpCircuit.js"; export default class EmpWasmSession implements BackendSession { empCircuit: EmpCircuit; mpcSettings: MpcSettings; input: Record; rawSend: (to: string, msg: Uint8Array) => void; thisPartyName: string; bqs: BufferQueueStore; result: { promise: Promise>; resolve: (value: Record) => void; reject: (reason: any) => void; }; constructor(empCircuit: EmpCircuit, mpcSettings: MpcSettings, input: Record, rawSend: (to: string, msg: Uint8Array) => void, thisPartyName: string); handleMessage(from: string, msg: Uint8Array): void; send(to: string, channel: 'a' | 'b', msg: Uint8Array): void; run(): Promise; output(): Promise>; } declare class BufferQueueStore { bqs: Map; get(from: string, channel: 'a' | 'b'): BufferQueue; } export {}; //# sourceMappingURL=EmpWasmSession.d.ts.map