@river-build/sdk
Version:
For more details, visit the following resources:
13 lines • 1.08 kB
TypeScript
import TypedEmitter from 'typed-emitter';
import { MemberPayload_KeyFulfillment, MemberPayload_KeySolicitation } from '@river-build/proto';
import { StreamEncryptionEvents } from './streamEvents';
import { StreamMember } from './streamStateView_Members';
import { EventSignatureBundle } from '@river-build/encryption';
export declare class StreamStateView_Members_Solicitations {
readonly streamId: string;
constructor(streamId: string);
initSolicitations(members: StreamMember[], sigBundle: EventSignatureBundle, encryptionEmitter: TypedEmitter<StreamEncryptionEvents> | undefined): void;
applySolicitation(user: StreamMember, eventId: string, solicitation: MemberPayload_KeySolicitation, sigBundle: EventSignatureBundle, encryptionEmitter: TypedEmitter<StreamEncryptionEvents> | undefined): void;
applyFulfillment(user: StreamMember, fulfillment: MemberPayload_KeyFulfillment, sigBundle: EventSignatureBundle, encryptionEmitter: TypedEmitter<StreamEncryptionEvents> | undefined): void;
}
//# sourceMappingURL=streamStateView_Members_Solicitations.d.ts.map