// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // @generated by protoc-gen-es v1.10.1 with parameter "js_import_style=legacy_commonjs" // @generated from file e2ee.proto (package livekit.proto, syntax proto2) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto2 } from "@bufbuild/protobuf"; /** * @generated from enum livekit.proto.EncryptionType */ export declare enum EncryptionType { /** * @generated from enum value: NONE = 0; */ NONE = 0, /** * @generated from enum value: GCM = 1; */ GCM = 1, /** * @generated from enum value: CUSTOM = 2; */ CUSTOM = 2, } /** * @generated from enum livekit.proto.KeyDerivationFunction */ export declare enum KeyDerivationFunction { /** * @generated from enum value: PBKDF2 = 0; */ PBKDF2 = 0, /** * @generated from enum value: HKDF = 1; */ HKDF = 1, } /** * @generated from enum livekit.proto.EncryptionState */ export declare enum EncryptionState { /** * @generated from enum value: NEW = 0; */ NEW = 0, /** * @generated from enum value: OK = 1; */ OK = 1, /** * @generated from enum value: ENCRYPTION_FAILED = 2; */ ENCRYPTION_FAILED = 2, /** * @generated from enum value: DECRYPTION_FAILED = 3; */ DECRYPTION_FAILED = 3, /** * @generated from enum value: MISSING_KEY = 4; */ MISSING_KEY = 4, /** * @generated from enum value: KEY_RATCHETED = 5; */ KEY_RATCHETED = 5, /** * @generated from enum value: INTERNAL_ERROR = 6; */ INTERNAL_ERROR = 6, } /** * @generated from message livekit.proto.FrameCryptor */ export declare class FrameCryptor extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required string track_sid = 2; */ trackSid?: string; /** * @generated from field: required int32 key_index = 3; */ keyIndex?: number; /** * @generated from field: required bool enabled = 4; */ enabled?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.FrameCryptor"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FrameCryptor; static fromJson(jsonValue: JsonValue, options?: Partial): FrameCryptor; static fromJsonString(jsonString: string, options?: Partial): FrameCryptor; static equals(a: FrameCryptor | PlainMessage | undefined, b: FrameCryptor | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.KeyProviderOptions */ export declare class KeyProviderOptions extends Message { /** * Only specify if you want to use a shared_key * * @generated from field: optional bytes shared_key = 1; */ sharedKey?: Uint8Array; /** * @generated from field: required int32 ratchet_window_size = 2; */ ratchetWindowSize?: number; /** * @generated from field: required bytes ratchet_salt = 3; */ ratchetSalt?: Uint8Array; /** * -1 = no tolerance * * @generated from field: required int32 failure_tolerance = 4; */ failureTolerance?: number; /** * @generated from field: required int32 key_ring_size = 5; */ keyRingSize?: number; /** * @generated from field: required livekit.proto.KeyDerivationFunction key_derivation_function = 6; */ keyDerivationFunction?: KeyDerivationFunction; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.KeyProviderOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): KeyProviderOptions; static fromJson(jsonValue: JsonValue, options?: Partial): KeyProviderOptions; static fromJsonString(jsonString: string, options?: Partial): KeyProviderOptions; static equals(a: KeyProviderOptions | PlainMessage | undefined, b: KeyProviderOptions | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.E2eeOptions */ export declare class E2eeOptions extends Message { /** * @generated from field: required livekit.proto.EncryptionType encryption_type = 1; */ encryptionType?: EncryptionType; /** * @generated from field: required livekit.proto.KeyProviderOptions key_provider_options = 2; */ keyProviderOptions?: KeyProviderOptions; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.E2eeOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): E2eeOptions; static fromJson(jsonValue: JsonValue, options?: Partial): E2eeOptions; static fromJsonString(jsonString: string, options?: Partial): E2eeOptions; static equals(a: E2eeOptions | PlainMessage | undefined, b: E2eeOptions | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.E2eeManagerSetEnabledRequest */ export declare class E2eeManagerSetEnabledRequest extends Message { /** * @generated from field: required bool enabled = 1; */ enabled?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.E2eeManagerSetEnabledRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): E2eeManagerSetEnabledRequest; static fromJson(jsonValue: JsonValue, options?: Partial): E2eeManagerSetEnabledRequest; static fromJsonString(jsonString: string, options?: Partial): E2eeManagerSetEnabledRequest; static equals(a: E2eeManagerSetEnabledRequest | PlainMessage | undefined, b: E2eeManagerSetEnabledRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.E2eeManagerSetEnabledResponse */ export declare class E2eeManagerSetEnabledResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.E2eeManagerSetEnabledResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): E2eeManagerSetEnabledResponse; static fromJson(jsonValue: JsonValue, options?: Partial): E2eeManagerSetEnabledResponse; static fromJsonString(jsonString: string, options?: Partial): E2eeManagerSetEnabledResponse; static equals(a: E2eeManagerSetEnabledResponse | PlainMessage | undefined, b: E2eeManagerSetEnabledResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.E2eeManagerGetFrameCryptorsRequest */ export declare class E2eeManagerGetFrameCryptorsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.E2eeManagerGetFrameCryptorsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): E2eeManagerGetFrameCryptorsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): E2eeManagerGetFrameCryptorsRequest; static fromJsonString(jsonString: string, options?: Partial): E2eeManagerGetFrameCryptorsRequest; static equals(a: E2eeManagerGetFrameCryptorsRequest | PlainMessage | undefined, b: E2eeManagerGetFrameCryptorsRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.E2eeManagerGetFrameCryptorsResponse */ export declare class E2eeManagerGetFrameCryptorsResponse extends Message { /** * @generated from field: repeated livekit.proto.FrameCryptor frame_cryptors = 1; */ frameCryptors: FrameCryptor[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.E2eeManagerGetFrameCryptorsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): E2eeManagerGetFrameCryptorsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): E2eeManagerGetFrameCryptorsResponse; static fromJsonString(jsonString: string, options?: Partial): E2eeManagerGetFrameCryptorsResponse; static equals(a: E2eeManagerGetFrameCryptorsResponse | PlainMessage | undefined, b: E2eeManagerGetFrameCryptorsResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.FrameCryptorSetEnabledRequest */ export declare class FrameCryptorSetEnabledRequest extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required string track_sid = 2; */ trackSid?: string; /** * @generated from field: required bool enabled = 3; */ enabled?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.FrameCryptorSetEnabledRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FrameCryptorSetEnabledRequest; static fromJson(jsonValue: JsonValue, options?: Partial): FrameCryptorSetEnabledRequest; static fromJsonString(jsonString: string, options?: Partial): FrameCryptorSetEnabledRequest; static equals(a: FrameCryptorSetEnabledRequest | PlainMessage | undefined, b: FrameCryptorSetEnabledRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.FrameCryptorSetEnabledResponse */ export declare class FrameCryptorSetEnabledResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.FrameCryptorSetEnabledResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FrameCryptorSetEnabledResponse; static fromJson(jsonValue: JsonValue, options?: Partial): FrameCryptorSetEnabledResponse; static fromJsonString(jsonString: string, options?: Partial): FrameCryptorSetEnabledResponse; static equals(a: FrameCryptorSetEnabledResponse | PlainMessage | undefined, b: FrameCryptorSetEnabledResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.FrameCryptorSetKeyIndexRequest */ export declare class FrameCryptorSetKeyIndexRequest extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required string track_sid = 2; */ trackSid?: string; /** * @generated from field: required int32 key_index = 3; */ keyIndex?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.FrameCryptorSetKeyIndexRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FrameCryptorSetKeyIndexRequest; static fromJson(jsonValue: JsonValue, options?: Partial): FrameCryptorSetKeyIndexRequest; static fromJsonString(jsonString: string, options?: Partial): FrameCryptorSetKeyIndexRequest; static equals(a: FrameCryptorSetKeyIndexRequest | PlainMessage | undefined, b: FrameCryptorSetKeyIndexRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.FrameCryptorSetKeyIndexResponse */ export declare class FrameCryptorSetKeyIndexResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.FrameCryptorSetKeyIndexResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FrameCryptorSetKeyIndexResponse; static fromJson(jsonValue: JsonValue, options?: Partial): FrameCryptorSetKeyIndexResponse; static fromJsonString(jsonString: string, options?: Partial): FrameCryptorSetKeyIndexResponse; static equals(a: FrameCryptorSetKeyIndexResponse | PlainMessage | undefined, b: FrameCryptorSetKeyIndexResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetSharedKeyRequest */ export declare class SetSharedKeyRequest extends Message { /** * @generated from field: required bytes shared_key = 1; */ sharedKey?: Uint8Array; /** * @generated from field: required int32 key_index = 2; */ keyIndex?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetSharedKeyRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetSharedKeyRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetSharedKeyRequest; static fromJsonString(jsonString: string, options?: Partial): SetSharedKeyRequest; static equals(a: SetSharedKeyRequest | PlainMessage | undefined, b: SetSharedKeyRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetSharedKeyResponse */ export declare class SetSharedKeyResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetSharedKeyResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetSharedKeyResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetSharedKeyResponse; static fromJsonString(jsonString: string, options?: Partial): SetSharedKeyResponse; static equals(a: SetSharedKeyResponse | PlainMessage | undefined, b: SetSharedKeyResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RatchetSharedKeyRequest */ export declare class RatchetSharedKeyRequest extends Message { /** * @generated from field: required int32 key_index = 1; */ keyIndex?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RatchetSharedKeyRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RatchetSharedKeyRequest; static fromJson(jsonValue: JsonValue, options?: Partial): RatchetSharedKeyRequest; static fromJsonString(jsonString: string, options?: Partial): RatchetSharedKeyRequest; static equals(a: RatchetSharedKeyRequest | PlainMessage | undefined, b: RatchetSharedKeyRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RatchetSharedKeyResponse */ export declare class RatchetSharedKeyResponse extends Message { /** * @generated from field: optional bytes new_key = 1; */ newKey?: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RatchetSharedKeyResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RatchetSharedKeyResponse; static fromJson(jsonValue: JsonValue, options?: Partial): RatchetSharedKeyResponse; static fromJsonString(jsonString: string, options?: Partial): RatchetSharedKeyResponse; static equals(a: RatchetSharedKeyResponse | PlainMessage | undefined, b: RatchetSharedKeyResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.GetSharedKeyRequest */ export declare class GetSharedKeyRequest extends Message { /** * @generated from field: required int32 key_index = 1; */ keyIndex?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.GetSharedKeyRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSharedKeyRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetSharedKeyRequest; static fromJsonString(jsonString: string, options?: Partial): GetSharedKeyRequest; static equals(a: GetSharedKeyRequest | PlainMessage | undefined, b: GetSharedKeyRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.GetSharedKeyResponse */ export declare class GetSharedKeyResponse extends Message { /** * @generated from field: optional bytes key = 1; */ key?: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.GetSharedKeyResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSharedKeyResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetSharedKeyResponse; static fromJsonString(jsonString: string, options?: Partial): GetSharedKeyResponse; static equals(a: GetSharedKeyResponse | PlainMessage | undefined, b: GetSharedKeyResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetKeyRequest */ export declare class SetKeyRequest extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required bytes key = 2; */ key?: Uint8Array; /** * @generated from field: required int32 key_index = 3; */ keyIndex?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetKeyRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetKeyRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetKeyRequest; static fromJsonString(jsonString: string, options?: Partial): SetKeyRequest; static equals(a: SetKeyRequest | PlainMessage | undefined, b: SetKeyRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetKeyResponse */ export declare class SetKeyResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetKeyResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetKeyResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetKeyResponse; static fromJsonString(jsonString: string, options?: Partial): SetKeyResponse; static equals(a: SetKeyResponse | PlainMessage | undefined, b: SetKeyResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RatchetKeyRequest */ export declare class RatchetKeyRequest extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required int32 key_index = 2; */ keyIndex?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RatchetKeyRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RatchetKeyRequest; static fromJson(jsonValue: JsonValue, options?: Partial): RatchetKeyRequest; static fromJsonString(jsonString: string, options?: Partial): RatchetKeyRequest; static equals(a: RatchetKeyRequest | PlainMessage | undefined, b: RatchetKeyRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RatchetKeyResponse */ export declare class RatchetKeyResponse extends Message { /** * @generated from field: optional bytes new_key = 1; */ newKey?: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RatchetKeyResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RatchetKeyResponse; static fromJson(jsonValue: JsonValue, options?: Partial): RatchetKeyResponse; static fromJsonString(jsonString: string, options?: Partial): RatchetKeyResponse; static equals(a: RatchetKeyResponse | PlainMessage | undefined, b: RatchetKeyResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.GetKeyRequest */ export declare class GetKeyRequest extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required int32 key_index = 2; */ keyIndex?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.GetKeyRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetKeyRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetKeyRequest; static fromJsonString(jsonString: string, options?: Partial): GetKeyRequest; static equals(a: GetKeyRequest | PlainMessage | undefined, b: GetKeyRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.GetKeyResponse */ export declare class GetKeyResponse extends Message { /** * @generated from field: optional bytes key = 1; */ key?: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.GetKeyResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetKeyResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetKeyResponse; static fromJsonString(jsonString: string, options?: Partial): GetKeyResponse; static equals(a: GetKeyResponse | PlainMessage | undefined, b: GetKeyResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.E2eeRequest */ export declare class E2eeRequest extends Message { /** * @generated from field: required uint64 room_handle = 1; */ roomHandle?: bigint; /** * @generated from oneof livekit.proto.E2eeRequest.message */ message: { /** * @generated from field: livekit.proto.E2eeManagerSetEnabledRequest manager_set_enabled = 2; */ value: E2eeManagerSetEnabledRequest; case: "managerSetEnabled"; } | { /** * @generated from field: livekit.proto.E2eeManagerGetFrameCryptorsRequest manager_get_frame_cryptors = 3; */ value: E2eeManagerGetFrameCryptorsRequest; case: "managerGetFrameCryptors"; } | { /** * @generated from field: livekit.proto.FrameCryptorSetEnabledRequest cryptor_set_enabled = 4; */ value: FrameCryptorSetEnabledRequest; case: "cryptorSetEnabled"; } | { /** * @generated from field: livekit.proto.FrameCryptorSetKeyIndexRequest cryptor_set_key_index = 5; */ value: FrameCryptorSetKeyIndexRequest; case: "cryptorSetKeyIndex"; } | { /** * @generated from field: livekit.proto.SetSharedKeyRequest set_shared_key = 6; */ value: SetSharedKeyRequest; case: "setSharedKey"; } | { /** * @generated from field: livekit.proto.RatchetSharedKeyRequest ratchet_shared_key = 7; */ value: RatchetSharedKeyRequest; case: "ratchetSharedKey"; } | { /** * @generated from field: livekit.proto.GetSharedKeyRequest get_shared_key = 8; */ value: GetSharedKeyRequest; case: "getSharedKey"; } | { /** * @generated from field: livekit.proto.SetKeyRequest set_key = 9; */ value: SetKeyRequest; case: "setKey"; } | { /** * @generated from field: livekit.proto.RatchetKeyRequest ratchet_key = 10; */ value: RatchetKeyRequest; case: "ratchetKey"; } | { /** * @generated from field: livekit.proto.GetKeyRequest get_key = 11; */ value: GetKeyRequest; case: "getKey"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.E2eeRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): E2eeRequest; static fromJson(jsonValue: JsonValue, options?: Partial): E2eeRequest; static fromJsonString(jsonString: string, options?: Partial): E2eeRequest; static equals(a: E2eeRequest | PlainMessage | undefined, b: E2eeRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.E2eeResponse */ export declare class E2eeResponse extends Message { /** * @generated from oneof livekit.proto.E2eeResponse.message */ message: { /** * @generated from field: livekit.proto.E2eeManagerSetEnabledResponse manager_set_enabled = 1; */ value: E2eeManagerSetEnabledResponse; case: "managerSetEnabled"; } | { /** * @generated from field: livekit.proto.E2eeManagerGetFrameCryptorsResponse manager_get_frame_cryptors = 2; */ value: E2eeManagerGetFrameCryptorsResponse; case: "managerGetFrameCryptors"; } | { /** * @generated from field: livekit.proto.FrameCryptorSetEnabledResponse cryptor_set_enabled = 3; */ value: FrameCryptorSetEnabledResponse; case: "cryptorSetEnabled"; } | { /** * @generated from field: livekit.proto.FrameCryptorSetKeyIndexResponse cryptor_set_key_index = 4; */ value: FrameCryptorSetKeyIndexResponse; case: "cryptorSetKeyIndex"; } | { /** * @generated from field: livekit.proto.SetSharedKeyResponse set_shared_key = 5; */ value: SetSharedKeyResponse; case: "setSharedKey"; } | { /** * @generated from field: livekit.proto.RatchetSharedKeyResponse ratchet_shared_key = 6; */ value: RatchetSharedKeyResponse; case: "ratchetSharedKey"; } | { /** * @generated from field: livekit.proto.GetSharedKeyResponse get_shared_key = 7; */ value: GetSharedKeyResponse; case: "getSharedKey"; } | { /** * @generated from field: livekit.proto.SetKeyResponse set_key = 8; */ value: SetKeyResponse; case: "setKey"; } | { /** * @generated from field: livekit.proto.RatchetKeyResponse ratchet_key = 9; */ value: RatchetKeyResponse; case: "ratchetKey"; } | { /** * @generated from field: livekit.proto.GetKeyResponse get_key = 10; */ value: GetKeyResponse; case: "getKey"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.E2eeResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): E2eeResponse; static fromJson(jsonValue: JsonValue, options?: Partial): E2eeResponse; static fromJsonString(jsonString: string, options?: Partial): E2eeResponse; static equals(a: E2eeResponse | PlainMessage | undefined, b: E2eeResponse | PlainMessage | undefined): boolean; }