// 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 room.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"; import type { DisconnectReason, OwnedParticipant, ParticipantInfo, ParticipantPermission } from "./participant_pb.js"; import type { FrameMetadataFeature, OwnedTrack, OwnedTrackPublication, TrackPublicationInfo, TrackSource } from "./track_pb.js"; import type { RtcStats } from "./stats_pb.js"; import type { VideoCodec } from "./video_frame_pb.js"; import type { E2eeOptions, EncryptionState } from "./e2ee_pb.js"; import type { FfiOwnedHandle } from "./handle_pb.js"; import type { OwnedByteStreamReader, OwnedTextStreamReader } from "./data_stream_pb.js"; import type { OwnedRemoteDataTrack } from "./data_track_pb.js"; /** * Simulate a reconnection scenario for testing. Mirrors the variants of * `livekit::SimulateScenario`. The Resume / FullReconnect variants are * the relevant ones for verifying that resume preserves publications and * full reconnect republishes them exactly once. * * @generated from enum livekit.proto.SimulateScenarioKind */ export declare enum SimulateScenarioKind { /** * Closes the signal channel locally; engine attempts a Resume. * * @generated from enum value: SIMULATE_SIGNAL_RECONNECT = 0; */ SIMULATE_SIGNAL_RECONNECT = 0, /** * @generated from enum value: SIMULATE_SPEAKER = 1; */ SIMULATE_SPEAKER = 1, /** * @generated from enum value: SIMULATE_NODE_FAILURE = 2; */ SIMULATE_NODE_FAILURE = 2, /** * @generated from enum value: SIMULATE_SERVER_LEAVE = 3; */ SIMULATE_SERVER_LEAVE = 3, /** * @generated from enum value: SIMULATE_MIGRATION = 4; */ SIMULATE_MIGRATION = 4, /** * @generated from enum value: SIMULATE_FORCE_TCP = 5; */ SIMULATE_FORCE_TCP = 5, /** * @generated from enum value: SIMULATE_FORCE_TLS = 6; */ SIMULATE_FORCE_TLS = 6, /** * Asks the server to send `LeaveRequest{Reconnect}`, forcing a full * reconnect (new RtcSession; SDK republishes existing local tracks). * * @generated from enum value: SIMULATE_FULL_RECONNECT = 7; */ SIMULATE_FULL_RECONNECT = 7, /** * Asks the server to drop the signalling connection during the next resume, * then triggers a resume locally. The resume cannot complete, so the engine * escalates to a full reconnect — exercising the resume→full escalation path. * * @generated from enum value: SIMULATE_DISCONNECT_SIGNAL_ON_RESUME = 8; */ SIMULATE_DISCONNECT_SIGNAL_ON_RESUME = 8, } /** * @generated from enum livekit.proto.VideoEncoderBackend */ export declare enum VideoEncoderBackend { /** * @generated from enum value: ENCODER_BACKEND_AUTO = 0; */ ENCODER_BACKEND_AUTO = 0, /** * @generated from enum value: ENCODER_BACKEND_SOFTWARE = 1; */ ENCODER_BACKEND_SOFTWARE = 1, /** * @generated from enum value: ENCODER_BACKEND_HARDWARE = 2; */ ENCODER_BACKEND_HARDWARE = 2, /** * @generated from enum value: ENCODER_BACKEND_NVENC = 3; */ ENCODER_BACKEND_NVENC = 3, /** * @generated from enum value: ENCODER_BACKEND_VAAPI = 4; */ ENCODER_BACKEND_VAAPI = 4, /** * @generated from enum value: ENCODER_BACKEND_VIDEOTOOLBOX = 5; */ ENCODER_BACKEND_VIDEOTOOLBOX = 5, } /** * Controls how the encoder degrades quality when bandwidth is constrained. * * @generated from enum livekit.proto.DegradationPreference */ export declare enum DegradationPreference { /** * Balance between framerate and resolution degradation. * * @generated from enum value: DEGRADATION_PREFERENCE_BALANCED = 0; */ BALANCED = 0, /** * Degrade framerate to maintain resolution. * * @generated from enum value: DEGRADATION_PREFERENCE_MAINTAIN_FRAMERATE = 1; */ MAINTAIN_FRAMERATE = 1, /** * Degrade resolution to maintain framerate (drop frames to keep clarity). * * @generated from enum value: DEGRADATION_PREFERENCE_MAINTAIN_RESOLUTION = 2; */ MAINTAIN_RESOLUTION = 2, /** * Maintain both framerate and resolution. Frames may be dropped before encoding * if necessary to avoid overusing network and encoder resources. * * @generated from enum value: DEGRADATION_PREFERENCE_MAINTAIN_FRAMERATE_AND_RESOLUTION = 4; */ MAINTAIN_FRAMERATE_AND_RESOLUTION = 4, } /** * @generated from enum livekit.proto.IceTransportType */ export declare enum IceTransportType { /** * @generated from enum value: TRANSPORT_RELAY = 0; */ TRANSPORT_RELAY = 0, /** * @generated from enum value: TRANSPORT_NOHOST = 1; */ TRANSPORT_NOHOST = 1, /** * @generated from enum value: TRANSPORT_ALL = 2; */ TRANSPORT_ALL = 2, } /** * @generated from enum livekit.proto.ContinualGatheringPolicy */ export declare enum ContinualGatheringPolicy { /** * @generated from enum value: GATHER_ONCE = 0; */ GATHER_ONCE = 0, /** * @generated from enum value: GATHER_CONTINUALLY = 1; */ GATHER_CONTINUALLY = 1, } /** * @generated from enum livekit.proto.ConnectionQuality */ export declare enum ConnectionQuality { /** * @generated from enum value: QUALITY_POOR = 0; */ QUALITY_POOR = 0, /** * @generated from enum value: QUALITY_GOOD = 1; */ QUALITY_GOOD = 1, /** * @generated from enum value: QUALITY_EXCELLENT = 2; */ QUALITY_EXCELLENT = 2, /** * @generated from enum value: QUALITY_LOST = 3; */ QUALITY_LOST = 3, } /** * @generated from enum livekit.proto.ConnectionState */ export declare enum ConnectionState { /** * @generated from enum value: CONN_DISCONNECTED = 0; */ CONN_DISCONNECTED = 0, /** * @generated from enum value: CONN_CONNECTED = 1; */ CONN_CONNECTED = 1, /** * @generated from enum value: CONN_RECONNECTING = 2; */ CONN_RECONNECTING = 2, } /** * @generated from enum livekit.proto.DataPacketKind */ export declare enum DataPacketKind { /** * @generated from enum value: KIND_LOSSY = 0; */ KIND_LOSSY = 0, /** * @generated from enum value: KIND_RELIABLE = 1; */ KIND_RELIABLE = 1, } /** * Connect to a new LiveKit room * * @generated from message livekit.proto.ConnectRequest */ export declare class ConnectRequest extends Message { /** * @generated from field: required string url = 1; */ url?: string; /** * @generated from field: required string token = 2; */ token?: string; /** * @generated from field: required livekit.proto.RoomOptions options = 3; */ options?: RoomOptions; /** * @generated from field: optional uint64 request_async_id = 4; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ConnectRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectRequest; static fromJsonString(jsonString: string, options?: Partial): ConnectRequest; static equals(a: ConnectRequest | PlainMessage | undefined, b: ConnectRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ConnectResponse */ export declare class ConnectResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ConnectResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectResponse; static fromJsonString(jsonString: string, options?: Partial): ConnectResponse; static equals(a: ConnectResponse | PlainMessage | undefined, b: ConnectResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ConnectCallback */ export declare class ConnectCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from oneof livekit.proto.ConnectCallback.message */ message: { /** * @generated from field: string error = 2; */ value: string; case: "error"; } | { /** * @generated from field: livekit.proto.ConnectCallback.Result result = 3; */ value: ConnectCallback_Result; case: "result"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ConnectCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectCallback; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectCallback; static fromJsonString(jsonString: string, options?: Partial): ConnectCallback; static equals(a: ConnectCallback | PlainMessage | undefined, b: ConnectCallback | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ConnectCallback.ParticipantWithTracks */ export declare class ConnectCallback_ParticipantWithTracks extends Message { /** * @generated from field: required livekit.proto.OwnedParticipant participant = 1; */ participant?: OwnedParticipant; /** * TrackInfo are not needed here, if we're subscribed to a track, the FfiServer will send * a TrackSubscribed event * * @generated from field: repeated livekit.proto.OwnedTrackPublication publications = 2; */ publications: OwnedTrackPublication[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ConnectCallback.ParticipantWithTracks"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectCallback_ParticipantWithTracks; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectCallback_ParticipantWithTracks; static fromJsonString(jsonString: string, options?: Partial): ConnectCallback_ParticipantWithTracks; static equals(a: ConnectCallback_ParticipantWithTracks | PlainMessage | undefined, b: ConnectCallback_ParticipantWithTracks | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ConnectCallback.Result */ export declare class ConnectCallback_Result extends Message { /** * @generated from field: required livekit.proto.OwnedRoom room = 1; */ room?: OwnedRoom; /** * @generated from field: required livekit.proto.OwnedParticipant local_participant = 2; */ localParticipant?: OwnedParticipant; /** * @generated from field: repeated livekit.proto.ConnectCallback.ParticipantWithTracks participants = 3; */ participants: ConnectCallback_ParticipantWithTracks[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ConnectCallback.Result"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectCallback_Result; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectCallback_Result; static fromJsonString(jsonString: string, options?: Partial): ConnectCallback_Result; static equals(a: ConnectCallback_Result | PlainMessage | undefined, b: ConnectCallback_Result | PlainMessage | undefined): boolean; } /** * Disconnect from the a room * * @generated from message livekit.proto.DisconnectRequest */ export declare class DisconnectRequest extends Message { /** * @generated from field: required uint64 room_handle = 1; */ roomHandle?: bigint; /** * @generated from field: optional uint64 request_async_id = 2; */ requestAsyncId?: bigint; /** * @generated from field: optional livekit.proto.DisconnectReason reason = 3; */ reason?: DisconnectReason; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DisconnectRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DisconnectRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DisconnectRequest; static fromJsonString(jsonString: string, options?: Partial): DisconnectRequest; static equals(a: DisconnectRequest | PlainMessage | undefined, b: DisconnectRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.DisconnectResponse */ export declare class DisconnectResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DisconnectResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DisconnectResponse; static fromJson(jsonValue: JsonValue, options?: Partial): DisconnectResponse; static fromJsonString(jsonString: string, options?: Partial): DisconnectResponse; static equals(a: DisconnectResponse | PlainMessage | undefined, b: DisconnectResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.DisconnectCallback */ export declare class DisconnectCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DisconnectCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DisconnectCallback; static fromJson(jsonValue: JsonValue, options?: Partial): DisconnectCallback; static fromJsonString(jsonString: string, options?: Partial): DisconnectCallback; static equals(a: DisconnectCallback | PlainMessage | undefined, b: DisconnectCallback | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SimulateScenarioRequest */ export declare class SimulateScenarioRequest extends Message { /** * @generated from field: required uint64 room_handle = 1; */ roomHandle?: bigint; /** * @generated from field: required livekit.proto.SimulateScenarioKind scenario = 2; */ scenario?: SimulateScenarioKind; /** * @generated from field: optional uint64 request_async_id = 3; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SimulateScenarioRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SimulateScenarioRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SimulateScenarioRequest; static fromJsonString(jsonString: string, options?: Partial): SimulateScenarioRequest; static equals(a: SimulateScenarioRequest | PlainMessage | undefined, b: SimulateScenarioRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SimulateScenarioResponse */ export declare class SimulateScenarioResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SimulateScenarioResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SimulateScenarioResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SimulateScenarioResponse; static fromJsonString(jsonString: string, options?: Partial): SimulateScenarioResponse; static equals(a: SimulateScenarioResponse | PlainMessage | undefined, b: SimulateScenarioResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SimulateScenarioCallback */ export declare class SimulateScenarioCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from field: optional string error = 2; */ error?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SimulateScenarioCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SimulateScenarioCallback; static fromJson(jsonValue: JsonValue, options?: Partial): SimulateScenarioCallback; static fromJsonString(jsonString: string, options?: Partial): SimulateScenarioCallback; static equals(a: SimulateScenarioCallback | PlainMessage | undefined, b: SimulateScenarioCallback | PlainMessage | undefined): boolean; } /** * Publish a track to the room * * @generated from message livekit.proto.PublishTrackRequest */ export declare class PublishTrackRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required uint64 track_handle = 2; */ trackHandle?: bigint; /** * @generated from field: required livekit.proto.TrackPublishOptions options = 3; */ options?: TrackPublishOptions; /** * @generated from field: optional uint64 request_async_id = 4; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PublishTrackRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishTrackRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PublishTrackRequest; static fromJsonString(jsonString: string, options?: Partial): PublishTrackRequest; static equals(a: PublishTrackRequest | PlainMessage | undefined, b: PublishTrackRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.PublishTrackResponse */ export declare class PublishTrackResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PublishTrackResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishTrackResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PublishTrackResponse; static fromJsonString(jsonString: string, options?: Partial): PublishTrackResponse; static equals(a: PublishTrackResponse | PlainMessage | undefined, b: PublishTrackResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.PublishTrackCallback */ export declare class PublishTrackCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from oneof livekit.proto.PublishTrackCallback.message */ message: { /** * @generated from field: string error = 2; */ value: string; case: "error"; } | { /** * @generated from field: livekit.proto.OwnedTrackPublication publication = 3; */ value: OwnedTrackPublication; case: "publication"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PublishTrackCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishTrackCallback; static fromJson(jsonValue: JsonValue, options?: Partial): PublishTrackCallback; static fromJsonString(jsonString: string, options?: Partial): PublishTrackCallback; static equals(a: PublishTrackCallback | PlainMessage | undefined, b: PublishTrackCallback | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ReadyForRoomEventRequest */ export declare class ReadyForRoomEventRequest extends Message { /** * @generated from field: required uint64 room_handle = 1; */ roomHandle?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ReadyForRoomEventRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ReadyForRoomEventRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ReadyForRoomEventRequest; static fromJsonString(jsonString: string, options?: Partial): ReadyForRoomEventRequest; static equals(a: ReadyForRoomEventRequest | PlainMessage | undefined, b: ReadyForRoomEventRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ReadyForRoomEventResponse */ export declare class ReadyForRoomEventResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ReadyForRoomEventResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ReadyForRoomEventResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ReadyForRoomEventResponse; static fromJsonString(jsonString: string, options?: Partial): ReadyForRoomEventResponse; static equals(a: ReadyForRoomEventResponse | PlainMessage | undefined, b: ReadyForRoomEventResponse | PlainMessage | undefined): boolean; } /** * Unpublish a track from the room * * @generated from message livekit.proto.UnpublishTrackRequest */ export declare class UnpublishTrackRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required string track_sid = 2; */ trackSid?: string; /** * @generated from field: required bool stop_on_unpublish = 3; */ stopOnUnpublish?: boolean; /** * @generated from field: optional uint64 request_async_id = 4; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.UnpublishTrackRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UnpublishTrackRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UnpublishTrackRequest; static fromJsonString(jsonString: string, options?: Partial): UnpublishTrackRequest; static equals(a: UnpublishTrackRequest | PlainMessage | undefined, b: UnpublishTrackRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.UnpublishTrackResponse */ export declare class UnpublishTrackResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.UnpublishTrackResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UnpublishTrackResponse; static fromJson(jsonValue: JsonValue, options?: Partial): UnpublishTrackResponse; static fromJsonString(jsonString: string, options?: Partial): UnpublishTrackResponse; static equals(a: UnpublishTrackResponse | PlainMessage | undefined, b: UnpublishTrackResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.UnpublishTrackCallback */ export declare class UnpublishTrackCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from field: optional string error = 2; */ error?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.UnpublishTrackCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UnpublishTrackCallback; static fromJson(jsonValue: JsonValue, options?: Partial): UnpublishTrackCallback; static fromJsonString(jsonString: string, options?: Partial): UnpublishTrackCallback; static equals(a: UnpublishTrackCallback | PlainMessage | undefined, b: UnpublishTrackCallback | PlainMessage | undefined): boolean; } /** * Publish data to other participants * * @generated from message livekit.proto.PublishDataRequest */ export declare class PublishDataRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required uint64 data_ptr = 2; */ dataPtr?: bigint; /** * @generated from field: required uint64 data_len = 3; */ dataLen?: bigint; /** * @generated from field: required bool reliable = 4; */ reliable?: boolean; /** * @generated from field: repeated string destination_sids = 5 [deprecated = true]; * @deprecated */ destinationSids: string[]; /** * @generated from field: optional string topic = 6; */ topic?: string; /** * @generated from field: repeated string destination_identities = 7; */ destinationIdentities: string[]; /** * @generated from field: optional uint64 request_async_id = 8; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PublishDataRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishDataRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PublishDataRequest; static fromJsonString(jsonString: string, options?: Partial): PublishDataRequest; static equals(a: PublishDataRequest | PlainMessage | undefined, b: PublishDataRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.PublishDataResponse */ export declare class PublishDataResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PublishDataResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishDataResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PublishDataResponse; static fromJsonString(jsonString: string, options?: Partial): PublishDataResponse; static equals(a: PublishDataResponse | PlainMessage | undefined, b: PublishDataResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.PublishDataCallback */ export declare class PublishDataCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from field: optional string error = 2; */ error?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PublishDataCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishDataCallback; static fromJson(jsonValue: JsonValue, options?: Partial): PublishDataCallback; static fromJsonString(jsonString: string, options?: Partial): PublishDataCallback; static equals(a: PublishDataCallback | PlainMessage | undefined, b: PublishDataCallback | PlainMessage | undefined): boolean; } /** * Publish transcription messages to room * * @generated from message livekit.proto.PublishTranscriptionRequest */ export declare class PublishTranscriptionRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required string participant_identity = 2; */ participantIdentity?: string; /** * @generated from field: required string track_id = 3; */ trackId?: string; /** * @generated from field: repeated livekit.proto.TranscriptionSegment segments = 4; */ segments: TranscriptionSegment[]; /** * @generated from field: optional uint64 request_async_id = 5; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PublishTranscriptionRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishTranscriptionRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PublishTranscriptionRequest; static fromJsonString(jsonString: string, options?: Partial): PublishTranscriptionRequest; static equals(a: PublishTranscriptionRequest | PlainMessage | undefined, b: PublishTranscriptionRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.PublishTranscriptionResponse */ export declare class PublishTranscriptionResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PublishTranscriptionResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishTranscriptionResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PublishTranscriptionResponse; static fromJsonString(jsonString: string, options?: Partial): PublishTranscriptionResponse; static equals(a: PublishTranscriptionResponse | PlainMessage | undefined, b: PublishTranscriptionResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.PublishTranscriptionCallback */ export declare class PublishTranscriptionCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from field: optional string error = 2; */ error?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PublishTranscriptionCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishTranscriptionCallback; static fromJson(jsonValue: JsonValue, options?: Partial): PublishTranscriptionCallback; static fromJsonString(jsonString: string, options?: Partial): PublishTranscriptionCallback; static equals(a: PublishTranscriptionCallback | PlainMessage | undefined, b: PublishTranscriptionCallback | PlainMessage | undefined): boolean; } /** * Publish Sip DTMF messages to other participants * * @generated from message livekit.proto.PublishSipDtmfRequest */ export declare class PublishSipDtmfRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required uint32 code = 2; */ code?: number; /** * @generated from field: required string digit = 3; */ digit?: string; /** * @generated from field: repeated string destination_identities = 4; */ destinationIdentities: string[]; /** * @generated from field: optional uint64 request_async_id = 5; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PublishSipDtmfRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishSipDtmfRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PublishSipDtmfRequest; static fromJsonString(jsonString: string, options?: Partial): PublishSipDtmfRequest; static equals(a: PublishSipDtmfRequest | PlainMessage | undefined, b: PublishSipDtmfRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.PublishSipDtmfResponse */ export declare class PublishSipDtmfResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PublishSipDtmfResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishSipDtmfResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PublishSipDtmfResponse; static fromJsonString(jsonString: string, options?: Partial): PublishSipDtmfResponse; static equals(a: PublishSipDtmfResponse | PlainMessage | undefined, b: PublishSipDtmfResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.PublishSipDtmfCallback */ export declare class PublishSipDtmfCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from field: optional string error = 2; */ error?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PublishSipDtmfCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishSipDtmfCallback; static fromJson(jsonValue: JsonValue, options?: Partial): PublishSipDtmfCallback; static fromJsonString(jsonString: string, options?: Partial): PublishSipDtmfCallback; static equals(a: PublishSipDtmfCallback | PlainMessage | undefined, b: PublishSipDtmfCallback | PlainMessage | undefined): boolean; } /** * Change the local participant's metadata * * @generated from message livekit.proto.SetLocalMetadataRequest */ export declare class SetLocalMetadataRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required string metadata = 2; */ metadata?: string; /** * @generated from field: optional uint64 request_async_id = 3; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetLocalMetadataRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetLocalMetadataRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetLocalMetadataRequest; static fromJsonString(jsonString: string, options?: Partial): SetLocalMetadataRequest; static equals(a: SetLocalMetadataRequest | PlainMessage | undefined, b: SetLocalMetadataRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetLocalMetadataResponse */ export declare class SetLocalMetadataResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetLocalMetadataResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetLocalMetadataResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetLocalMetadataResponse; static fromJsonString(jsonString: string, options?: Partial): SetLocalMetadataResponse; static equals(a: SetLocalMetadataResponse | PlainMessage | undefined, b: SetLocalMetadataResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetLocalMetadataCallback */ export declare class SetLocalMetadataCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from field: optional string error = 2; */ error?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetLocalMetadataCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetLocalMetadataCallback; static fromJson(jsonValue: JsonValue, options?: Partial): SetLocalMetadataCallback; static fromJsonString(jsonString: string, options?: Partial): SetLocalMetadataCallback; static equals(a: SetLocalMetadataCallback | PlainMessage | undefined, b: SetLocalMetadataCallback | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SendChatMessageRequest */ export declare class SendChatMessageRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required string message = 2; */ message?: string; /** * @generated from field: repeated string destination_identities = 3; */ destinationIdentities: string[]; /** * @generated from field: optional string sender_identity = 4; */ senderIdentity?: string; /** * @generated from field: optional uint64 request_async_id = 5; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SendChatMessageRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendChatMessageRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SendChatMessageRequest; static fromJsonString(jsonString: string, options?: Partial): SendChatMessageRequest; static equals(a: SendChatMessageRequest | PlainMessage | undefined, b: SendChatMessageRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.EditChatMessageRequest */ export declare class EditChatMessageRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required string edit_text = 2; */ editText?: string; /** * @generated from field: required livekit.proto.ChatMessage original_message = 3; */ originalMessage?: ChatMessage; /** * @generated from field: repeated string destination_identities = 4; */ destinationIdentities: string[]; /** * @generated from field: optional string sender_identity = 5; */ senderIdentity?: string; /** * @generated from field: optional uint64 request_async_id = 6; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.EditChatMessageRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EditChatMessageRequest; static fromJson(jsonValue: JsonValue, options?: Partial): EditChatMessageRequest; static fromJsonString(jsonString: string, options?: Partial): EditChatMessageRequest; static equals(a: EditChatMessageRequest | PlainMessage | undefined, b: EditChatMessageRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SendChatMessageResponse */ export declare class SendChatMessageResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SendChatMessageResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendChatMessageResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SendChatMessageResponse; static fromJsonString(jsonString: string, options?: Partial): SendChatMessageResponse; static equals(a: SendChatMessageResponse | PlainMessage | undefined, b: SendChatMessageResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SendChatMessageCallback */ export declare class SendChatMessageCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from oneof livekit.proto.SendChatMessageCallback.message */ message: { /** * @generated from field: string error = 2; */ value: string; case: "error"; } | { /** * @generated from field: livekit.proto.ChatMessage chat_message = 3; */ value: ChatMessage; case: "chatMessage"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SendChatMessageCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendChatMessageCallback; static fromJson(jsonValue: JsonValue, options?: Partial): SendChatMessageCallback; static fromJsonString(jsonString: string, options?: Partial): SendChatMessageCallback; static equals(a: SendChatMessageCallback | PlainMessage | undefined, b: SendChatMessageCallback | PlainMessage | undefined): boolean; } /** * Change the local participant's attributes * * @generated from message livekit.proto.SetLocalAttributesRequest */ export declare class SetLocalAttributesRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: repeated livekit.proto.AttributesEntry attributes = 2; */ attributes: AttributesEntry[]; /** * @generated from field: optional uint64 request_async_id = 3; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetLocalAttributesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetLocalAttributesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetLocalAttributesRequest; static fromJsonString(jsonString: string, options?: Partial): SetLocalAttributesRequest; static equals(a: SetLocalAttributesRequest | PlainMessage | undefined, b: SetLocalAttributesRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.AttributesEntry */ export declare class AttributesEntry extends Message { /** * @generated from field: required string key = 1; */ key?: string; /** * @generated from field: required string value = 2; */ value?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.AttributesEntry"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AttributesEntry; static fromJson(jsonValue: JsonValue, options?: Partial): AttributesEntry; static fromJsonString(jsonString: string, options?: Partial): AttributesEntry; static equals(a: AttributesEntry | PlainMessage | undefined, b: AttributesEntry | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetLocalAttributesResponse */ export declare class SetLocalAttributesResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetLocalAttributesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetLocalAttributesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetLocalAttributesResponse; static fromJsonString(jsonString: string, options?: Partial): SetLocalAttributesResponse; static equals(a: SetLocalAttributesResponse | PlainMessage | undefined, b: SetLocalAttributesResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetLocalAttributesCallback */ export declare class SetLocalAttributesCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from field: optional string error = 2; */ error?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetLocalAttributesCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetLocalAttributesCallback; static fromJson(jsonValue: JsonValue, options?: Partial): SetLocalAttributesCallback; static fromJsonString(jsonString: string, options?: Partial): SetLocalAttributesCallback; static equals(a: SetLocalAttributesCallback | PlainMessage | undefined, b: SetLocalAttributesCallback | PlainMessage | undefined): boolean; } /** * Change the local participant's name * * @generated from message livekit.proto.SetLocalNameRequest */ export declare class SetLocalNameRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required string name = 2; */ name?: string; /** * @generated from field: optional uint64 request_async_id = 3; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetLocalNameRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetLocalNameRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetLocalNameRequest; static fromJsonString(jsonString: string, options?: Partial): SetLocalNameRequest; static equals(a: SetLocalNameRequest | PlainMessage | undefined, b: SetLocalNameRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetLocalNameResponse */ export declare class SetLocalNameResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetLocalNameResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetLocalNameResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetLocalNameResponse; static fromJsonString(jsonString: string, options?: Partial): SetLocalNameResponse; static equals(a: SetLocalNameResponse | PlainMessage | undefined, b: SetLocalNameResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetLocalNameCallback */ export declare class SetLocalNameCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from field: optional string error = 2; */ error?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetLocalNameCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetLocalNameCallback; static fromJson(jsonValue: JsonValue, options?: Partial): SetLocalNameCallback; static fromJsonString(jsonString: string, options?: Partial): SetLocalNameCallback; static equals(a: SetLocalNameCallback | PlainMessage | undefined, b: SetLocalNameCallback | PlainMessage | undefined): boolean; } /** * Change the "desire" to subs2ribe to a track * * @generated from message livekit.proto.SetSubscribedRequest */ export declare class SetSubscribedRequest extends Message { /** * @generated from field: required bool subscribe = 1; */ subscribe?: boolean; /** * @generated from field: required uint64 publication_handle = 2; */ publicationHandle?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetSubscribedRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetSubscribedRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetSubscribedRequest; static fromJsonString(jsonString: string, options?: Partial): SetSubscribedRequest; static equals(a: SetSubscribedRequest | PlainMessage | undefined, b: SetSubscribedRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetSubscribedResponse */ export declare class SetSubscribedResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetSubscribedResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetSubscribedResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetSubscribedResponse; static fromJsonString(jsonString: string, options?: Partial): SetSubscribedResponse; static equals(a: SetSubscribedResponse | PlainMessage | undefined, b: SetSubscribedResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.GetSessionStatsRequest */ export declare class GetSessionStatsRequest extends Message { /** * @generated from field: required uint64 room_handle = 1; */ roomHandle?: bigint; /** * @generated from field: optional uint64 request_async_id = 2; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.GetSessionStatsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSessionStatsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetSessionStatsRequest; static fromJsonString(jsonString: string, options?: Partial): GetSessionStatsRequest; static equals(a: GetSessionStatsRequest | PlainMessage | undefined, b: GetSessionStatsRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.GetSessionStatsResponse */ export declare class GetSessionStatsResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.GetSessionStatsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSessionStatsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetSessionStatsResponse; static fromJsonString(jsonString: string, options?: Partial): GetSessionStatsResponse; static equals(a: GetSessionStatsResponse | PlainMessage | undefined, b: GetSessionStatsResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.GetSessionStatsCallback */ export declare class GetSessionStatsCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from oneof livekit.proto.GetSessionStatsCallback.message */ message: { /** * @generated from field: string error = 2; */ value: string; case: "error"; } | { /** * @generated from field: livekit.proto.GetSessionStatsCallback.Result result = 3; */ value: GetSessionStatsCallback_Result; case: "result"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.GetSessionStatsCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSessionStatsCallback; static fromJson(jsonValue: JsonValue, options?: Partial): GetSessionStatsCallback; static fromJsonString(jsonString: string, options?: Partial): GetSessionStatsCallback; static equals(a: GetSessionStatsCallback | PlainMessage | undefined, b: GetSessionStatsCallback | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.GetSessionStatsCallback.Result */ export declare class GetSessionStatsCallback_Result extends Message { /** * @generated from field: repeated livekit.proto.RtcStats publisher_stats = 1; */ publisherStats: RtcStats[]; /** * @generated from field: repeated livekit.proto.RtcStats subscriber_stats = 2; */ subscriberStats: RtcStats[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.GetSessionStatsCallback.Result"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSessionStatsCallback_Result; static fromJson(jsonValue: JsonValue, options?: Partial): GetSessionStatsCallback_Result; static fromJsonString(jsonString: string, options?: Partial): GetSessionStatsCallback_Result; static equals(a: GetSessionStatsCallback_Result | PlainMessage | undefined, b: GetSessionStatsCallback_Result | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoEncoding */ export declare class VideoEncoding extends Message { /** * @generated from field: required uint64 max_bitrate = 1; */ maxBitrate?: bigint; /** * @generated from field: required double max_framerate = 2; */ maxFramerate?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoEncoding"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoEncoding; static fromJson(jsonValue: JsonValue, options?: Partial): VideoEncoding; static fromJsonString(jsonString: string, options?: Partial): VideoEncoding; static equals(a: VideoEncoding | PlainMessage | undefined, b: VideoEncoding | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.AudioEncoding */ export declare class AudioEncoding extends Message { /** * @generated from field: required uint64 max_bitrate = 1; */ maxBitrate?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.AudioEncoding"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AudioEncoding; static fromJson(jsonValue: JsonValue, options?: Partial): AudioEncoding; static fromJsonString(jsonString: string, options?: Partial): AudioEncoding; static equals(a: AudioEncoding | PlainMessage | undefined, b: AudioEncoding | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.TrackPublishOptions */ export declare class TrackPublishOptions extends Message { /** * encodings are optional * * @generated from field: optional livekit.proto.VideoEncoding video_encoding = 1; */ videoEncoding?: VideoEncoding; /** * @generated from field: optional livekit.proto.AudioEncoding audio_encoding = 2; */ audioEncoding?: AudioEncoding; /** * @generated from field: optional livekit.proto.VideoCodec video_codec = 3; */ videoCodec?: VideoCodec; /** * @generated from field: optional bool dtx = 4; */ dtx?: boolean; /** * @generated from field: optional bool red = 5; */ red?: boolean; /** * @generated from field: optional bool simulcast = 6; */ simulcast?: boolean; /** * @generated from field: optional livekit.proto.TrackSource source = 7; */ source?: TrackSource; /** * @generated from field: optional string stream = 8; */ stream?: string; /** * @generated from field: optional bool preconnect_buffer = 9; */ preconnectBuffer?: boolean; /** * @generated from field: repeated livekit.proto.FrameMetadataFeature frame_metadata_features = 10; */ frameMetadataFeatures: FrameMetadataFeature[]; /** * RTP scalability mode (e.g. "L3T3_KEY"). When set, a single RTP * encoding is produced with this mode, enabling true SVC for codecs * that support it (VP9, AV1). Has no effect for VP8/H264. * * @generated from field: optional string scalability_mode = 11; */ scalabilityMode?: string; /** * Preferred encoder backend to use when publishing a video track. * * @generated from field: optional livekit.proto.VideoEncoderBackend video_encoder = 12; */ videoEncoder?: VideoEncoderBackend; /** * Controls how the encoder trades off between resolution and framerate * when bandwidth is constrained. Default is MAINTAIN_RESOLUTION. * * @generated from field: optional livekit.proto.DegradationPreference degradation_preference = 13; */ degradationPreference?: DegradationPreference; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TrackPublishOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackPublishOptions; static fromJson(jsonValue: JsonValue, options?: Partial): TrackPublishOptions; static fromJsonString(jsonString: string, options?: Partial): TrackPublishOptions; static equals(a: TrackPublishOptions | PlainMessage | undefined, b: TrackPublishOptions | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.IceServer */ export declare class IceServer extends Message { /** * @generated from field: repeated string urls = 1; */ urls: string[]; /** * @generated from field: optional string username = 2; */ username?: string; /** * @generated from field: optional string password = 3; */ password?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.IceServer"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): IceServer; static fromJson(jsonValue: JsonValue, options?: Partial): IceServer; static fromJsonString(jsonString: string, options?: Partial): IceServer; static equals(a: IceServer | PlainMessage | undefined, b: IceServer | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcConfig */ export declare class RtcConfig extends Message { /** * @generated from field: optional livekit.proto.IceTransportType ice_transport_type = 1; */ iceTransportType?: IceTransportType; /** * @generated from field: optional livekit.proto.ContinualGatheringPolicy continual_gathering_policy = 2; */ continualGatheringPolicy?: ContinualGatheringPolicy; /** * empty fallback to default * * @generated from field: repeated livekit.proto.IceServer ice_servers = 3; */ iceServers: IceServer[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcConfig; static fromJson(jsonValue: JsonValue, options?: Partial): RtcConfig; static fromJsonString(jsonString: string, options?: Partial): RtcConfig; static equals(a: RtcConfig | PlainMessage | undefined, b: RtcConfig | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RoomOptions */ export declare class RoomOptions extends Message { /** * @generated from field: optional bool auto_subscribe = 1; */ autoSubscribe?: boolean; /** * @generated from field: optional bool adaptive_stream = 2; */ adaptiveStream?: boolean; /** * @generated from field: optional bool dynacast = 3; */ dynacast?: boolean; /** * @generated from field: optional livekit.proto.E2eeOptions e2ee = 4 [deprecated = true]; * @deprecated */ e2ee?: E2eeOptions; /** * allow to setup a custom RtcConfiguration * * @generated from field: optional livekit.proto.RtcConfig rtc_config = 5; */ rtcConfig?: RtcConfig; /** * @generated from field: optional uint32 join_retries = 6; */ joinRetries?: number; /** * @generated from field: optional livekit.proto.E2eeOptions encryption = 7; */ encryption?: E2eeOptions; /** * use single peer connection for both publish/subscribe (default: false) * * @generated from field: optional bool single_peer_connection = 8; */ singlePeerConnection?: boolean; /** * timeout in milliseconds for each signal connection attempt (default: 5000) * * @generated from field: optional uint64 connect_timeout_ms = 9; */ connectTimeoutMs?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RoomOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomOptions; static fromJson(jsonValue: JsonValue, options?: Partial): RoomOptions; static fromJsonString(jsonString: string, options?: Partial): RoomOptions; static equals(a: RoomOptions | PlainMessage | undefined, b: RoomOptions | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.TranscriptionSegment */ export declare class TranscriptionSegment extends Message { /** * @generated from field: required string id = 1; */ id?: string; /** * @generated from field: required string text = 2; */ text?: string; /** * @generated from field: required uint64 start_time = 3; */ startTime?: bigint; /** * @generated from field: required uint64 end_time = 4; */ endTime?: bigint; /** * @generated from field: required bool final = 5; */ final?: boolean; /** * @generated from field: required string language = 6; */ language?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TranscriptionSegment"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TranscriptionSegment; static fromJson(jsonValue: JsonValue, options?: Partial): TranscriptionSegment; static fromJsonString(jsonString: string, options?: Partial): TranscriptionSegment; static equals(a: TranscriptionSegment | PlainMessage | undefined, b: TranscriptionSegment | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.BufferInfo */ export declare class BufferInfo extends Message { /** * @generated from field: required uint64 data_ptr = 1; */ dataPtr?: bigint; /** * @generated from field: required uint64 data_len = 2; */ dataLen?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.BufferInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): BufferInfo; static fromJson(jsonValue: JsonValue, options?: Partial): BufferInfo; static fromJsonString(jsonString: string, options?: Partial): BufferInfo; static equals(a: BufferInfo | PlainMessage | undefined, b: BufferInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.OwnedBuffer */ export declare class OwnedBuffer extends Message { /** * @generated from field: required livekit.proto.FfiOwnedHandle handle = 1; */ handle?: FfiOwnedHandle; /** * @generated from field: required livekit.proto.BufferInfo data = 2; */ data?: BufferInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.OwnedBuffer"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): OwnedBuffer; static fromJson(jsonValue: JsonValue, options?: Partial): OwnedBuffer; static fromJsonString(jsonString: string, options?: Partial): OwnedBuffer; static equals(a: OwnedBuffer | PlainMessage | undefined, b: OwnedBuffer | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RoomEvent */ export declare class RoomEvent extends Message { /** * @generated from field: required uint64 room_handle = 1; */ roomHandle?: bigint; /** * @generated from oneof livekit.proto.RoomEvent.message */ message: { /** * @generated from field: livekit.proto.ParticipantConnected participant_connected = 2; */ value: ParticipantConnected; case: "participantConnected"; } | { /** * @generated from field: livekit.proto.ParticipantDisconnected participant_disconnected = 3; */ value: ParticipantDisconnected; case: "participantDisconnected"; } | { /** * @generated from field: livekit.proto.LocalTrackPublished local_track_published = 4; */ value: LocalTrackPublished; case: "localTrackPublished"; } | { /** * @generated from field: livekit.proto.LocalTrackUnpublished local_track_unpublished = 5; */ value: LocalTrackUnpublished; case: "localTrackUnpublished"; } | { /** * @generated from field: livekit.proto.LocalTrackSubscribed local_track_subscribed = 6; */ value: LocalTrackSubscribed; case: "localTrackSubscribed"; } | { /** * @generated from field: livekit.proto.TrackPublished track_published = 7; */ value: TrackPublished; case: "trackPublished"; } | { /** * @generated from field: livekit.proto.TrackUnpublished track_unpublished = 8; */ value: TrackUnpublished; case: "trackUnpublished"; } | { /** * @generated from field: livekit.proto.TrackSubscribed track_subscribed = 9; */ value: TrackSubscribed; case: "trackSubscribed"; } | { /** * @generated from field: livekit.proto.TrackUnsubscribed track_unsubscribed = 10; */ value: TrackUnsubscribed; case: "trackUnsubscribed"; } | { /** * @generated from field: livekit.proto.TrackSubscriptionFailed track_subscription_failed = 11; */ value: TrackSubscriptionFailed; case: "trackSubscriptionFailed"; } | { /** * @generated from field: livekit.proto.TrackMuted track_muted = 12; */ value: TrackMuted; case: "trackMuted"; } | { /** * @generated from field: livekit.proto.TrackUnmuted track_unmuted = 13; */ value: TrackUnmuted; case: "trackUnmuted"; } | { /** * @generated from field: livekit.proto.ActiveSpeakersChanged active_speakers_changed = 14; */ value: ActiveSpeakersChanged; case: "activeSpeakersChanged"; } | { /** * @generated from field: livekit.proto.RoomMetadataChanged room_metadata_changed = 15; */ value: RoomMetadataChanged; case: "roomMetadataChanged"; } | { /** * @generated from field: livekit.proto.RoomSidChanged room_sid_changed = 16; */ value: RoomSidChanged; case: "roomSidChanged"; } | { /** * @generated from field: livekit.proto.ParticipantMetadataChanged participant_metadata_changed = 17; */ value: ParticipantMetadataChanged; case: "participantMetadataChanged"; } | { /** * @generated from field: livekit.proto.ParticipantNameChanged participant_name_changed = 18; */ value: ParticipantNameChanged; case: "participantNameChanged"; } | { /** * @generated from field: livekit.proto.ParticipantAttributesChanged participant_attributes_changed = 19; */ value: ParticipantAttributesChanged; case: "participantAttributesChanged"; } | { /** * @generated from field: livekit.proto.ConnectionQualityChanged connection_quality_changed = 20; */ value: ConnectionQualityChanged; case: "connectionQualityChanged"; } | { /** * @generated from field: livekit.proto.ConnectionStateChanged connection_state_changed = 21; */ value: ConnectionStateChanged; case: "connectionStateChanged"; } | { /** * Connected connected = 21; * * @generated from field: livekit.proto.Disconnected disconnected = 22; */ value: Disconnected; case: "disconnected"; } | { /** * @generated from field: livekit.proto.Reconnecting reconnecting = 23; */ value: Reconnecting; case: "reconnecting"; } | { /** * @generated from field: livekit.proto.Reconnected reconnected = 24; */ value: Reconnected; case: "reconnected"; } | { /** * @generated from field: livekit.proto.E2eeStateChanged e2ee_state_changed = 25; */ value: E2eeStateChanged; case: "e2eeStateChanged"; } | { /** * The stream of room events has ended * * @generated from field: livekit.proto.RoomEOS eos = 26; */ value: RoomEOS; case: "eos"; } | { /** * @generated from field: livekit.proto.DataPacketReceived data_packet_received = 27; */ value: DataPacketReceived; case: "dataPacketReceived"; } | { /** * @generated from field: livekit.proto.TranscriptionReceived transcription_received = 28; */ value: TranscriptionReceived; case: "transcriptionReceived"; } | { /** * @generated from field: livekit.proto.ChatMessageReceived chat_message = 29; */ value: ChatMessageReceived; case: "chatMessage"; } | { /** * Data stream (low level) * * @generated from field: livekit.proto.DataStreamHeaderReceived stream_header_received = 30; */ value: DataStreamHeaderReceived; case: "streamHeaderReceived"; } | { /** * @generated from field: livekit.proto.DataStreamChunkReceived stream_chunk_received = 31; */ value: DataStreamChunkReceived; case: "streamChunkReceived"; } | { /** * @generated from field: livekit.proto.DataStreamTrailerReceived stream_trailer_received = 32; */ value: DataStreamTrailerReceived; case: "streamTrailerReceived"; } | { /** * @generated from field: livekit.proto.DataChannelBufferedAmountLowThresholdChanged data_channel_low_threshold_changed = 33; */ value: DataChannelBufferedAmountLowThresholdChanged; case: "dataChannelLowThresholdChanged"; } | { /** * Data stream (high level) * * @generated from field: livekit.proto.ByteStreamOpened byte_stream_opened = 34; */ value: ByteStreamOpened; case: "byteStreamOpened"; } | { /** * @generated from field: livekit.proto.TextStreamOpened text_stream_opened = 35; */ value: TextStreamOpened; case: "textStreamOpened"; } | { /** * Room info updated * * @generated from field: livekit.proto.RoomInfo room_updated = 36; */ value: RoomInfo; case: "roomUpdated"; } | { /** * Participant moved to new room * * @generated from field: livekit.proto.RoomInfo moved = 37; */ value: RoomInfo; case: "moved"; } | { /** * carry over all participant info updates, including sid * * @generated from field: livekit.proto.ParticipantsUpdated participants_updated = 38; */ value: ParticipantsUpdated; case: "participantsUpdated"; } | { /** * @generated from field: livekit.proto.ParticipantEncryptionStatusChanged participant_encryption_status_changed = 39; */ value: ParticipantEncryptionStatusChanged; case: "participantEncryptionStatusChanged"; } | { /** * @generated from field: livekit.proto.ParticipantPermissionChanged participant_permission_changed = 41; */ value: ParticipantPermissionChanged; case: "participantPermissionChanged"; } | { /** * @generated from field: livekit.proto.TokenRefreshed token_refreshed = 40; */ value: TokenRefreshed; case: "tokenRefreshed"; } | { /** * @generated from field: livekit.proto.ParticipantActive participant_active = 42; */ value: ParticipantActive; case: "participantActive"; } | { /** * @generated from field: livekit.proto.DataTrackPublished data_track_published = 43; */ value: DataTrackPublished; case: "dataTrackPublished"; } | { /** * @generated from field: livekit.proto.DataTrackUnpublished data_track_unpublished = 44; */ value: DataTrackUnpublished; case: "dataTrackUnpublished"; } | { /** * @generated from field: livekit.proto.LocalTrackRepublished local_track_republished = 45; */ value: LocalTrackRepublished; case: "localTrackRepublished"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RoomEvent"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomEvent; static fromJson(jsonValue: JsonValue, options?: Partial): RoomEvent; static fromJsonString(jsonString: string, options?: Partial): RoomEvent; static equals(a: RoomEvent | PlainMessage | undefined, b: RoomEvent | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RoomInfo */ export declare class RoomInfo extends Message { /** * @generated from field: optional string sid = 1; */ sid?: string; /** * @generated from field: required string name = 2; */ name?: string; /** * @generated from field: required string metadata = 3; */ metadata?: string; /** * @generated from field: required uint64 lossy_dc_buffered_amount_low_threshold = 4; */ lossyDcBufferedAmountLowThreshold?: bigint; /** * @generated from field: required uint64 reliable_dc_buffered_amount_low_threshold = 5; */ reliableDcBufferedAmountLowThreshold?: bigint; /** * @generated from field: required uint32 empty_timeout = 6; */ emptyTimeout?: number; /** * @generated from field: required uint32 departure_timeout = 7; */ departureTimeout?: number; /** * @generated from field: required uint32 max_participants = 8; */ maxParticipants?: number; /** * @generated from field: required int64 creation_time = 9; */ creationTime?: bigint; /** * @generated from field: required uint32 num_participants = 10; */ numParticipants?: number; /** * @generated from field: required uint32 num_publishers = 11; */ numPublishers?: number; /** * @generated from field: required bool active_recording = 12; */ activeRecording?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RoomInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomInfo; static fromJson(jsonValue: JsonValue, options?: Partial): RoomInfo; static fromJsonString(jsonString: string, options?: Partial): RoomInfo; static equals(a: RoomInfo | PlainMessage | undefined, b: RoomInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.OwnedRoom */ export declare class OwnedRoom extends Message { /** * @generated from field: required livekit.proto.FfiOwnedHandle handle = 1; */ handle?: FfiOwnedHandle; /** * @generated from field: required livekit.proto.RoomInfo info = 2; */ info?: RoomInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.OwnedRoom"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): OwnedRoom; static fromJson(jsonValue: JsonValue, options?: Partial): OwnedRoom; static fromJsonString(jsonString: string, options?: Partial): OwnedRoom; static equals(a: OwnedRoom | PlainMessage | undefined, b: OwnedRoom | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ParticipantsUpdated */ export declare class ParticipantsUpdated extends Message { /** * @generated from field: repeated livekit.proto.ParticipantInfo participants = 1; */ participants: ParticipantInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ParticipantsUpdated"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantsUpdated; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantsUpdated; static fromJsonString(jsonString: string, options?: Partial): ParticipantsUpdated; static equals(a: ParticipantsUpdated | PlainMessage | undefined, b: ParticipantsUpdated | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ParticipantConnected */ export declare class ParticipantConnected extends Message { /** * @generated from field: required livekit.proto.OwnedParticipant info = 1; */ info?: OwnedParticipant; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ParticipantConnected"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantConnected; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantConnected; static fromJsonString(jsonString: string, options?: Partial): ParticipantConnected; static equals(a: ParticipantConnected | PlainMessage | undefined, b: ParticipantConnected | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ParticipantActive */ export declare class ParticipantActive extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ParticipantActive"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantActive; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantActive; static fromJsonString(jsonString: string, options?: Partial): ParticipantActive; static equals(a: ParticipantActive | PlainMessage | undefined, b: ParticipantActive | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ParticipantDisconnected */ export declare class ParticipantDisconnected extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required livekit.proto.DisconnectReason disconnect_reason = 2; */ disconnectReason?: DisconnectReason; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ParticipantDisconnected"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantDisconnected; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantDisconnected; static fromJsonString(jsonString: string, options?: Partial): ParticipantDisconnected; static equals(a: ParticipantDisconnected | PlainMessage | undefined, b: ParticipantDisconnected | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.LocalTrackPublished */ export declare class LocalTrackPublished extends Message { /** * The TrackPublicationInfo comes from the PublishTrack response * and the FfiClient musts wait for it before firing this event * * @generated from field: required string track_sid = 1; */ trackSid?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.LocalTrackPublished"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): LocalTrackPublished; static fromJson(jsonValue: JsonValue, options?: Partial): LocalTrackPublished; static fromJsonString(jsonString: string, options?: Partial): LocalTrackPublished; static equals(a: LocalTrackPublished | PlainMessage | undefined, b: LocalTrackPublished | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.LocalTrackUnpublished */ export declare class LocalTrackUnpublished extends Message { /** * @generated from field: required string publication_sid = 1; */ publicationSid?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.LocalTrackUnpublished"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): LocalTrackUnpublished; static fromJson(jsonValue: JsonValue, options?: Partial): LocalTrackUnpublished; static fromJsonString(jsonString: string, options?: Partial): LocalTrackUnpublished; static equals(a: LocalTrackUnpublished | PlainMessage | undefined, b: LocalTrackUnpublished | PlainMessage | undefined): boolean; } /** * Fired when the SDK auto-republishes a local track during a full * reconnect. The FfiPublication handle is preserved across the cycle — * language bindings should look up the existing publication object by * `previous_sid` (its old SID), update its TrackPublicationInfo in place * with `info`, and rekey it under the new SID. Apps holding a cached * reference to the publication continue to see a valid object whose * reads/writes hit current state. * * @generated from message livekit.proto.LocalTrackRepublished */ export declare class LocalTrackRepublished extends Message { /** * @generated from field: required uint64 publication_handle = 1; */ publicationHandle?: bigint; /** * @generated from field: required string previous_sid = 2; */ previousSid?: string; /** * @generated from field: required livekit.proto.TrackPublicationInfo info = 3; */ info?: TrackPublicationInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.LocalTrackRepublished"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): LocalTrackRepublished; static fromJson(jsonValue: JsonValue, options?: Partial): LocalTrackRepublished; static fromJsonString(jsonString: string, options?: Partial): LocalTrackRepublished; static equals(a: LocalTrackRepublished | PlainMessage | undefined, b: LocalTrackRepublished | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.LocalTrackSubscribed */ export declare class LocalTrackSubscribed extends Message { /** * @generated from field: required string track_sid = 2; */ trackSid?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.LocalTrackSubscribed"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): LocalTrackSubscribed; static fromJson(jsonValue: JsonValue, options?: Partial): LocalTrackSubscribed; static fromJsonString(jsonString: string, options?: Partial): LocalTrackSubscribed; static equals(a: LocalTrackSubscribed | PlainMessage | undefined, b: LocalTrackSubscribed | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.TrackPublished */ export declare class TrackPublished extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required livekit.proto.OwnedTrackPublication publication = 2; */ publication?: OwnedTrackPublication; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TrackPublished"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackPublished; static fromJson(jsonValue: JsonValue, options?: Partial): TrackPublished; static fromJsonString(jsonString: string, options?: Partial): TrackPublished; static equals(a: TrackPublished | PlainMessage | undefined, b: TrackPublished | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.TrackUnpublished */ export declare class TrackUnpublished extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required string publication_sid = 2; */ publicationSid?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TrackUnpublished"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackUnpublished; static fromJson(jsonValue: JsonValue, options?: Partial): TrackUnpublished; static fromJsonString(jsonString: string, options?: Partial): TrackUnpublished; static equals(a: TrackUnpublished | PlainMessage | undefined, b: TrackUnpublished | PlainMessage | undefined): boolean; } /** * Publication isn't needed for subscription events on the FFI * The FFI will retrieve the publication using the Track sid * * @generated from message livekit.proto.TrackSubscribed */ export declare class TrackSubscribed extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required livekit.proto.OwnedTrack track = 2; */ track?: OwnedTrack; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TrackSubscribed"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackSubscribed; static fromJson(jsonValue: JsonValue, options?: Partial): TrackSubscribed; static fromJsonString(jsonString: string, options?: Partial): TrackSubscribed; static equals(a: TrackSubscribed | PlainMessage | undefined, b: TrackSubscribed | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.TrackUnsubscribed */ export declare class TrackUnsubscribed extends Message { /** * The FFI language can dispose/remove the VideoSink here * * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required string track_sid = 2; */ trackSid?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TrackUnsubscribed"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackUnsubscribed; static fromJson(jsonValue: JsonValue, options?: Partial): TrackUnsubscribed; static fromJsonString(jsonString: string, options?: Partial): TrackUnsubscribed; static equals(a: TrackUnsubscribed | PlainMessage | undefined, b: TrackUnsubscribed | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.TrackSubscriptionFailed */ export declare class TrackSubscriptionFailed 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 string error = 3; */ error?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TrackSubscriptionFailed"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackSubscriptionFailed; static fromJson(jsonValue: JsonValue, options?: Partial): TrackSubscriptionFailed; static fromJsonString(jsonString: string, options?: Partial): TrackSubscriptionFailed; static equals(a: TrackSubscriptionFailed | PlainMessage | undefined, b: TrackSubscriptionFailed | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.TrackMuted */ export declare class TrackMuted extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required string track_sid = 2; */ trackSid?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TrackMuted"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackMuted; static fromJson(jsonValue: JsonValue, options?: Partial): TrackMuted; static fromJsonString(jsonString: string, options?: Partial): TrackMuted; static equals(a: TrackMuted | PlainMessage | undefined, b: TrackMuted | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.TrackUnmuted */ export declare class TrackUnmuted extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required string track_sid = 2; */ trackSid?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TrackUnmuted"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackUnmuted; static fromJson(jsonValue: JsonValue, options?: Partial): TrackUnmuted; static fromJsonString(jsonString: string, options?: Partial): TrackUnmuted; static equals(a: TrackUnmuted | PlainMessage | undefined, b: TrackUnmuted | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.E2eeStateChanged */ export declare class E2eeStateChanged extends Message { /** * Using sid instead of identity for ffi communication * * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required livekit.proto.EncryptionState state = 2; */ state?: EncryptionState; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.E2eeStateChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): E2eeStateChanged; static fromJson(jsonValue: JsonValue, options?: Partial): E2eeStateChanged; static fromJsonString(jsonString: string, options?: Partial): E2eeStateChanged; static equals(a: E2eeStateChanged | PlainMessage | undefined, b: E2eeStateChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ActiveSpeakersChanged */ export declare class ActiveSpeakersChanged extends Message { /** * @generated from field: repeated string participant_identities = 1; */ participantIdentities: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ActiveSpeakersChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ActiveSpeakersChanged; static fromJson(jsonValue: JsonValue, options?: Partial): ActiveSpeakersChanged; static fromJsonString(jsonString: string, options?: Partial): ActiveSpeakersChanged; static equals(a: ActiveSpeakersChanged | PlainMessage | undefined, b: ActiveSpeakersChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RoomMetadataChanged */ export declare class RoomMetadataChanged extends Message { /** * @generated from field: required string metadata = 1; */ metadata?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RoomMetadataChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomMetadataChanged; static fromJson(jsonValue: JsonValue, options?: Partial): RoomMetadataChanged; static fromJsonString(jsonString: string, options?: Partial): RoomMetadataChanged; static equals(a: RoomMetadataChanged | PlainMessage | undefined, b: RoomMetadataChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RoomSidChanged */ export declare class RoomSidChanged extends Message { /** * @generated from field: required string sid = 1; */ sid?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RoomSidChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomSidChanged; static fromJson(jsonValue: JsonValue, options?: Partial): RoomSidChanged; static fromJsonString(jsonString: string, options?: Partial): RoomSidChanged; static equals(a: RoomSidChanged | PlainMessage | undefined, b: RoomSidChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ParticipantMetadataChanged */ export declare class ParticipantMetadataChanged extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required string metadata = 2; */ metadata?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ParticipantMetadataChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantMetadataChanged; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantMetadataChanged; static fromJsonString(jsonString: string, options?: Partial): ParticipantMetadataChanged; static equals(a: ParticipantMetadataChanged | PlainMessage | undefined, b: ParticipantMetadataChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ParticipantAttributesChanged */ export declare class ParticipantAttributesChanged extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: repeated livekit.proto.AttributesEntry attributes = 2; */ attributes: AttributesEntry[]; /** * @generated from field: repeated livekit.proto.AttributesEntry changed_attributes = 3; */ changedAttributes: AttributesEntry[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ParticipantAttributesChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantAttributesChanged; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantAttributesChanged; static fromJsonString(jsonString: string, options?: Partial): ParticipantAttributesChanged; static equals(a: ParticipantAttributesChanged | PlainMessage | undefined, b: ParticipantAttributesChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ParticipantEncryptionStatusChanged */ export declare class ParticipantEncryptionStatusChanged extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required bool is_encrypted = 2; */ isEncrypted?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ParticipantEncryptionStatusChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantEncryptionStatusChanged; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantEncryptionStatusChanged; static fromJsonString(jsonString: string, options?: Partial): ParticipantEncryptionStatusChanged; static equals(a: ParticipantEncryptionStatusChanged | PlainMessage | undefined, b: ParticipantEncryptionStatusChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ParticipantNameChanged */ export declare class ParticipantNameChanged extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required string name = 2; */ name?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ParticipantNameChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantNameChanged; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantNameChanged; static fromJsonString(jsonString: string, options?: Partial): ParticipantNameChanged; static equals(a: ParticipantNameChanged | PlainMessage | undefined, b: ParticipantNameChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ParticipantPermissionChanged */ export declare class ParticipantPermissionChanged extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: optional livekit.proto.ParticipantPermission permission = 2; */ permission?: ParticipantPermission; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ParticipantPermissionChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantPermissionChanged; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantPermissionChanged; static fromJsonString(jsonString: string, options?: Partial): ParticipantPermissionChanged; static equals(a: ParticipantPermissionChanged | PlainMessage | undefined, b: ParticipantPermissionChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ConnectionQualityChanged */ export declare class ConnectionQualityChanged extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required livekit.proto.ConnectionQuality quality = 2; */ quality?: ConnectionQuality; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ConnectionQualityChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityChanged; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityChanged; static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityChanged; static equals(a: ConnectionQualityChanged | PlainMessage | undefined, b: ConnectionQualityChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.UserPacket */ export declare class UserPacket extends Message { /** * @generated from field: required livekit.proto.OwnedBuffer data = 1; */ data?: OwnedBuffer; /** * @generated from field: optional string topic = 2; */ topic?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.UserPacket"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UserPacket; static fromJson(jsonValue: JsonValue, options?: Partial): UserPacket; static fromJsonString(jsonString: string, options?: Partial): UserPacket; static equals(a: UserPacket | PlainMessage | undefined, b: UserPacket | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ChatMessage */ export declare class ChatMessage extends Message { /** * @generated from field: required string id = 1; */ id?: string; /** * @generated from field: required int64 timestamp = 2; */ timestamp?: bigint; /** * @generated from field: required string message = 3; */ message?: string; /** * @generated from field: optional int64 edit_timestamp = 4; */ editTimestamp?: bigint; /** * @generated from field: optional bool deleted = 5; */ deleted?: boolean; /** * @generated from field: optional bool generated = 6; */ generated?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ChatMessage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage; static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage; static fromJsonString(jsonString: string, options?: Partial): ChatMessage; static equals(a: ChatMessage | PlainMessage | undefined, b: ChatMessage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ChatMessageReceived */ export declare class ChatMessageReceived extends Message { /** * @generated from field: required livekit.proto.ChatMessage message = 1; */ message?: ChatMessage; /** * @generated from field: required string participant_identity = 2; */ participantIdentity?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ChatMessageReceived"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessageReceived; static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessageReceived; static fromJsonString(jsonString: string, options?: Partial): ChatMessageReceived; static equals(a: ChatMessageReceived | PlainMessage | undefined, b: ChatMessageReceived | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SipDTMF */ export declare class SipDTMF extends Message { /** * @generated from field: required uint32 code = 1; */ code?: number; /** * @generated from field: optional string digit = 2; */ digit?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SipDTMF"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SipDTMF; static fromJson(jsonValue: JsonValue, options?: Partial): SipDTMF; static fromJsonString(jsonString: string, options?: Partial): SipDTMF; static equals(a: SipDTMF | PlainMessage | undefined, b: SipDTMF | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.DataPacketReceived */ export declare class DataPacketReceived extends Message { /** * @generated from field: required livekit.proto.DataPacketKind kind = 1; */ kind?: DataPacketKind; /** * Can be empty if the data is sent a server SDK * * @generated from field: required string participant_identity = 2; */ participantIdentity?: string; /** * @generated from oneof livekit.proto.DataPacketReceived.value */ value: { /** * @generated from field: livekit.proto.UserPacket user = 4; */ value: UserPacket; case: "user"; } | { /** * @generated from field: livekit.proto.SipDTMF sip_dtmf = 5; */ value: SipDTMF; case: "sipDtmf"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataPacketReceived"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataPacketReceived; static fromJson(jsonValue: JsonValue, options?: Partial): DataPacketReceived; static fromJsonString(jsonString: string, options?: Partial): DataPacketReceived; static equals(a: DataPacketReceived | PlainMessage | undefined, b: DataPacketReceived | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.TranscriptionReceived */ export declare class TranscriptionReceived extends Message { /** * @generated from field: optional string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: optional string track_sid = 2; */ trackSid?: string; /** * @generated from field: repeated livekit.proto.TranscriptionSegment segments = 3; */ segments: TranscriptionSegment[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TranscriptionReceived"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TranscriptionReceived; static fromJson(jsonValue: JsonValue, options?: Partial): TranscriptionReceived; static fromJsonString(jsonString: string, options?: Partial): TranscriptionReceived; static equals(a: TranscriptionReceived | PlainMessage | undefined, b: TranscriptionReceived | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ConnectionStateChanged */ export declare class ConnectionStateChanged extends Message { /** * @generated from field: required livekit.proto.ConnectionState state = 1; */ state?: ConnectionState; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ConnectionStateChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionStateChanged; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionStateChanged; static fromJsonString(jsonString: string, options?: Partial): ConnectionStateChanged; static equals(a: ConnectionStateChanged | PlainMessage | undefined, b: ConnectionStateChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.Connected */ export declare class Connected extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.Connected"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Connected; static fromJson(jsonValue: JsonValue, options?: Partial): Connected; static fromJsonString(jsonString: string, options?: Partial): Connected; static equals(a: Connected | PlainMessage | undefined, b: Connected | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.Disconnected */ export declare class Disconnected extends Message { /** * @generated from field: required livekit.proto.DisconnectReason reason = 1; */ reason?: DisconnectReason; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.Disconnected"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Disconnected; static fromJson(jsonValue: JsonValue, options?: Partial): Disconnected; static fromJsonString(jsonString: string, options?: Partial): Disconnected; static equals(a: Disconnected | PlainMessage | undefined, b: Disconnected | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.Reconnecting */ export declare class Reconnecting extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.Reconnecting"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Reconnecting; static fromJson(jsonValue: JsonValue, options?: Partial): Reconnecting; static fromJsonString(jsonString: string, options?: Partial): Reconnecting; static equals(a: Reconnecting | PlainMessage | undefined, b: Reconnecting | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.Reconnected */ export declare class Reconnected extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.Reconnected"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Reconnected; static fromJson(jsonValue: JsonValue, options?: Partial): Reconnected; static fromJsonString(jsonString: string, options?: Partial): Reconnected; static equals(a: Reconnected | PlainMessage | undefined, b: Reconnected | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.TokenRefreshed */ export declare class TokenRefreshed extends Message { /** * @generated from field: required string token = 1; */ token?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TokenRefreshed"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TokenRefreshed; static fromJson(jsonValue: JsonValue, options?: Partial): TokenRefreshed; static fromJsonString(jsonString: string, options?: Partial): TokenRefreshed; static equals(a: TokenRefreshed | PlainMessage | undefined, b: TokenRefreshed | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RoomEOS */ export declare class RoomEOS extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RoomEOS"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomEOS; static fromJson(jsonValue: JsonValue, options?: Partial): RoomEOS; static fromJsonString(jsonString: string, options?: Partial): RoomEOS; static equals(a: RoomEOS | PlainMessage | undefined, b: RoomEOS | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.DataStream */ export declare class DataStream extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataStream"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStream; static fromJson(jsonValue: JsonValue, options?: Partial): DataStream; static fromJsonString(jsonString: string, options?: Partial): DataStream; static equals(a: DataStream | PlainMessage | undefined, b: DataStream | PlainMessage | undefined): boolean; } /** * enum for operation types (specific to TextHeader) * * @generated from enum livekit.proto.DataStream.OperationType */ export declare enum DataStream_OperationType { /** * @generated from enum value: CREATE = 0; */ CREATE = 0, /** * @generated from enum value: UPDATE = 1; */ UPDATE = 1, /** * @generated from enum value: DELETE = 2; */ DELETE = 2, /** * @generated from enum value: REACTION = 3; */ REACTION = 3, } /** * header properties specific to text streams * * @generated from message livekit.proto.DataStream.TextHeader */ export declare class DataStream_TextHeader extends Message { /** * @generated from field: required livekit.proto.DataStream.OperationType operation_type = 1; */ operationType?: DataStream_OperationType; /** * Optional: Version for updates/edits * * @generated from field: optional int32 version = 2; */ version?: number; /** * Optional: Reply to specific message * * @generated from field: optional string reply_to_stream_id = 3; */ replyToStreamId?: string; /** * file attachments for text streams * * @generated from field: repeated string attached_stream_ids = 4; */ attachedStreamIds: string[]; /** * true if the text has been generated by an agent from a participant's audio transcription * * @generated from field: optional bool generated = 5; */ generated?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataStream.TextHeader"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_TextHeader; static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_TextHeader; static fromJsonString(jsonString: string, options?: Partial): DataStream_TextHeader; static equals(a: DataStream_TextHeader | PlainMessage | undefined, b: DataStream_TextHeader | PlainMessage | undefined): boolean; } /** * header properties specific to byte or file streams * * @generated from message livekit.proto.DataStream.ByteHeader */ export declare class DataStream_ByteHeader extends Message { /** * @generated from field: required string name = 1; */ name?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataStream.ByteHeader"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_ByteHeader; static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_ByteHeader; static fromJsonString(jsonString: string, options?: Partial): DataStream_ByteHeader; static equals(a: DataStream_ByteHeader | PlainMessage | undefined, b: DataStream_ByteHeader | PlainMessage | undefined): boolean; } /** * main DataStream.Header that contains a oneof for specific headers * * @generated from message livekit.proto.DataStream.Header */ export declare class DataStream_Header extends Message { /** * unique identifier for this data stream * * @generated from field: required string stream_id = 1; */ streamId?: string; /** * using int64 for Unix timestamp * * @generated from field: required int64 timestamp = 2; */ timestamp?: bigint; /** * @generated from field: required string mime_type = 3; */ mimeType?: string; /** * @generated from field: required string topic = 4; */ topic?: string; /** * only populated for finite streams, if it's a stream of unknown size this stays empty * * @generated from field: optional uint64 total_length = 5; */ totalLength?: bigint; /** * user defined attributes map that can carry additional info * * @generated from field: map attributes = 6; */ attributes: { [key: string]: string }; /** * oneof to choose between specific header types * * @generated from oneof livekit.proto.DataStream.Header.content_header */ contentHeader: { /** * @generated from field: livekit.proto.DataStream.TextHeader text_header = 7; */ value: DataStream_TextHeader; case: "textHeader"; } | { /** * @generated from field: livekit.proto.DataStream.ByteHeader byte_header = 8; */ value: DataStream_ByteHeader; case: "byteHeader"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataStream.Header"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Header; static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Header; static fromJsonString(jsonString: string, options?: Partial): DataStream_Header; static equals(a: DataStream_Header | PlainMessage | undefined, b: DataStream_Header | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.DataStream.Chunk */ export declare class DataStream_Chunk extends Message { /** * unique identifier for this data stream to map it to the correct header * * @generated from field: required string stream_id = 1; */ streamId?: string; /** * @generated from field: required uint64 chunk_index = 2; */ chunkIndex?: bigint; /** * content as binary (bytes) * * @generated from field: required bytes content = 3; */ content?: Uint8Array; /** * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced * * @generated from field: optional int32 version = 4; */ version?: number; /** * optional, initialization vector for AES-GCM encryption * * @generated from field: optional bytes iv = 5; */ iv?: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataStream.Chunk"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Chunk; static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Chunk; static fromJsonString(jsonString: string, options?: Partial): DataStream_Chunk; static equals(a: DataStream_Chunk | PlainMessage | undefined, b: DataStream_Chunk | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.DataStream.Trailer */ export declare class DataStream_Trailer extends Message { /** * unique identifier for this data stream * * @generated from field: required string stream_id = 1; */ streamId?: string; /** * reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end) * * @generated from field: required string reason = 2; */ reason?: string; /** * finalizing updates for the stream, can also include additional insights for errors or endTime for transcription * * @generated from field: map attributes = 3; */ attributes: { [key: string]: string }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataStream.Trailer"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Trailer; static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Trailer; static fromJsonString(jsonString: string, options?: Partial): DataStream_Trailer; static equals(a: DataStream_Trailer | PlainMessage | undefined, b: DataStream_Trailer | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.DataStreamHeaderReceived */ export declare class DataStreamHeaderReceived extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required livekit.proto.DataStream.Header header = 2; */ header?: DataStream_Header; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataStreamHeaderReceived"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStreamHeaderReceived; static fromJson(jsonValue: JsonValue, options?: Partial): DataStreamHeaderReceived; static fromJsonString(jsonString: string, options?: Partial): DataStreamHeaderReceived; static equals(a: DataStreamHeaderReceived | PlainMessage | undefined, b: DataStreamHeaderReceived | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.DataStreamChunkReceived */ export declare class DataStreamChunkReceived extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required livekit.proto.DataStream.Chunk chunk = 2; */ chunk?: DataStream_Chunk; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataStreamChunkReceived"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStreamChunkReceived; static fromJson(jsonValue: JsonValue, options?: Partial): DataStreamChunkReceived; static fromJsonString(jsonString: string, options?: Partial): DataStreamChunkReceived; static equals(a: DataStreamChunkReceived | PlainMessage | undefined, b: DataStreamChunkReceived | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.DataStreamTrailerReceived */ export declare class DataStreamTrailerReceived extends Message { /** * @generated from field: required string participant_identity = 1; */ participantIdentity?: string; /** * @generated from field: required livekit.proto.DataStream.Trailer trailer = 2; */ trailer?: DataStream_Trailer; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataStreamTrailerReceived"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStreamTrailerReceived; static fromJson(jsonValue: JsonValue, options?: Partial): DataStreamTrailerReceived; static fromJsonString(jsonString: string, options?: Partial): DataStreamTrailerReceived; static equals(a: DataStreamTrailerReceived | PlainMessage | undefined, b: DataStreamTrailerReceived | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SendStreamHeaderRequest */ export declare class SendStreamHeaderRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required livekit.proto.DataStream.Header header = 2; */ header?: DataStream_Header; /** * @generated from field: repeated string destination_identities = 3; */ destinationIdentities: string[]; /** * @generated from field: required string sender_identity = 4; */ senderIdentity?: string; /** * @generated from field: optional uint64 request_async_id = 5; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SendStreamHeaderRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendStreamHeaderRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SendStreamHeaderRequest; static fromJsonString(jsonString: string, options?: Partial): SendStreamHeaderRequest; static equals(a: SendStreamHeaderRequest | PlainMessage | undefined, b: SendStreamHeaderRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SendStreamChunkRequest */ export declare class SendStreamChunkRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required livekit.proto.DataStream.Chunk chunk = 2; */ chunk?: DataStream_Chunk; /** * @generated from field: repeated string destination_identities = 3; */ destinationIdentities: string[]; /** * @generated from field: required string sender_identity = 4; */ senderIdentity?: string; /** * @generated from field: optional uint64 request_async_id = 5; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SendStreamChunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendStreamChunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SendStreamChunkRequest; static fromJsonString(jsonString: string, options?: Partial): SendStreamChunkRequest; static equals(a: SendStreamChunkRequest | PlainMessage | undefined, b: SendStreamChunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SendStreamTrailerRequest */ export declare class SendStreamTrailerRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required livekit.proto.DataStream.Trailer trailer = 2; */ trailer?: DataStream_Trailer; /** * @generated from field: repeated string destination_identities = 3; */ destinationIdentities: string[]; /** * @generated from field: required string sender_identity = 4; */ senderIdentity?: string; /** * @generated from field: optional uint64 request_async_id = 5; */ requestAsyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SendStreamTrailerRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendStreamTrailerRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SendStreamTrailerRequest; static fromJsonString(jsonString: string, options?: Partial): SendStreamTrailerRequest; static equals(a: SendStreamTrailerRequest | PlainMessage | undefined, b: SendStreamTrailerRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SendStreamHeaderResponse */ export declare class SendStreamHeaderResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SendStreamHeaderResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendStreamHeaderResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SendStreamHeaderResponse; static fromJsonString(jsonString: string, options?: Partial): SendStreamHeaderResponse; static equals(a: SendStreamHeaderResponse | PlainMessage | undefined, b: SendStreamHeaderResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SendStreamChunkResponse */ export declare class SendStreamChunkResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SendStreamChunkResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendStreamChunkResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SendStreamChunkResponse; static fromJsonString(jsonString: string, options?: Partial): SendStreamChunkResponse; static equals(a: SendStreamChunkResponse | PlainMessage | undefined, b: SendStreamChunkResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SendStreamTrailerResponse */ export declare class SendStreamTrailerResponse extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SendStreamTrailerResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendStreamTrailerResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SendStreamTrailerResponse; static fromJsonString(jsonString: string, options?: Partial): SendStreamTrailerResponse; static equals(a: SendStreamTrailerResponse | PlainMessage | undefined, b: SendStreamTrailerResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SendStreamHeaderCallback */ export declare class SendStreamHeaderCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from field: optional string error = 2; */ error?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SendStreamHeaderCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendStreamHeaderCallback; static fromJson(jsonValue: JsonValue, options?: Partial): SendStreamHeaderCallback; static fromJsonString(jsonString: string, options?: Partial): SendStreamHeaderCallback; static equals(a: SendStreamHeaderCallback | PlainMessage | undefined, b: SendStreamHeaderCallback | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SendStreamChunkCallback */ export declare class SendStreamChunkCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from field: optional string error = 2; */ error?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SendStreamChunkCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendStreamChunkCallback; static fromJson(jsonValue: JsonValue, options?: Partial): SendStreamChunkCallback; static fromJsonString(jsonString: string, options?: Partial): SendStreamChunkCallback; static equals(a: SendStreamChunkCallback | PlainMessage | undefined, b: SendStreamChunkCallback | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SendStreamTrailerCallback */ export declare class SendStreamTrailerCallback extends Message { /** * @generated from field: required uint64 async_id = 1; */ asyncId?: bigint; /** * @generated from field: optional string error = 2; */ error?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SendStreamTrailerCallback"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendStreamTrailerCallback; static fromJson(jsonValue: JsonValue, options?: Partial): SendStreamTrailerCallback; static fromJsonString(jsonString: string, options?: Partial): SendStreamTrailerCallback; static equals(a: SendStreamTrailerCallback | PlainMessage | undefined, b: SendStreamTrailerCallback | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetDataChannelBufferedAmountLowThresholdRequest */ export declare class SetDataChannelBufferedAmountLowThresholdRequest extends Message { /** * @generated from field: required uint64 local_participant_handle = 1; */ localParticipantHandle?: bigint; /** * @generated from field: required uint64 threshold = 2; */ threshold?: bigint; /** * @generated from field: required livekit.proto.DataPacketKind kind = 3; */ kind?: DataPacketKind; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetDataChannelBufferedAmountLowThresholdRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetDataChannelBufferedAmountLowThresholdRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetDataChannelBufferedAmountLowThresholdRequest; static fromJsonString(jsonString: string, options?: Partial): SetDataChannelBufferedAmountLowThresholdRequest; static equals(a: SetDataChannelBufferedAmountLowThresholdRequest | PlainMessage | undefined, b: SetDataChannelBufferedAmountLowThresholdRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SetDataChannelBufferedAmountLowThresholdResponse */ export declare class SetDataChannelBufferedAmountLowThresholdResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SetDataChannelBufferedAmountLowThresholdResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetDataChannelBufferedAmountLowThresholdResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetDataChannelBufferedAmountLowThresholdResponse; static fromJsonString(jsonString: string, options?: Partial): SetDataChannelBufferedAmountLowThresholdResponse; static equals(a: SetDataChannelBufferedAmountLowThresholdResponse | PlainMessage | undefined, b: SetDataChannelBufferedAmountLowThresholdResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.DataChannelBufferedAmountLowThresholdChanged */ export declare class DataChannelBufferedAmountLowThresholdChanged extends Message { /** * @generated from field: required livekit.proto.DataPacketKind kind = 1; */ kind?: DataPacketKind; /** * @generated from field: required uint64 threshold = 2; */ threshold?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataChannelBufferedAmountLowThresholdChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataChannelBufferedAmountLowThresholdChanged; static fromJson(jsonValue: JsonValue, options?: Partial): DataChannelBufferedAmountLowThresholdChanged; static fromJsonString(jsonString: string, options?: Partial): DataChannelBufferedAmountLowThresholdChanged; static equals(a: DataChannelBufferedAmountLowThresholdChanged | PlainMessage | undefined, b: DataChannelBufferedAmountLowThresholdChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ByteStreamOpened */ export declare class ByteStreamOpened extends Message { /** * @generated from field: required livekit.proto.OwnedByteStreamReader reader = 1; */ reader?: OwnedByteStreamReader; /** * @generated from field: required string participant_identity = 2; */ participantIdentity?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ByteStreamOpened"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ByteStreamOpened; static fromJson(jsonValue: JsonValue, options?: Partial): ByteStreamOpened; static fromJsonString(jsonString: string, options?: Partial): ByteStreamOpened; static equals(a: ByteStreamOpened | PlainMessage | undefined, b: ByteStreamOpened | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.TextStreamOpened */ export declare class TextStreamOpened extends Message { /** * @generated from field: required livekit.proto.OwnedTextStreamReader reader = 1; */ reader?: OwnedTextStreamReader; /** * @generated from field: required string participant_identity = 2; */ participantIdentity?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TextStreamOpened"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TextStreamOpened; static fromJson(jsonValue: JsonValue, options?: Partial): TextStreamOpened; static fromJsonString(jsonString: string, options?: Partial): TextStreamOpened; static equals(a: TextStreamOpened | PlainMessage | undefined, b: TextStreamOpened | PlainMessage | undefined): boolean; } /** * A remote participant published a data track. * * @generated from message livekit.proto.DataTrackPublished */ export declare class DataTrackPublished extends Message { /** * @generated from field: required livekit.proto.OwnedRemoteDataTrack track = 1; */ track?: OwnedRemoteDataTrack; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataTrackPublished"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataTrackPublished; static fromJson(jsonValue: JsonValue, options?: Partial): DataTrackPublished; static fromJsonString(jsonString: string, options?: Partial): DataTrackPublished; static equals(a: DataTrackPublished | PlainMessage | undefined, b: DataTrackPublished | PlainMessage | undefined): boolean; } /** * A remote participant unpublished a data track. * * @generated from message livekit.proto.DataTrackUnpublished */ export declare class DataTrackUnpublished extends Message { /** * SID of the track that was unpublished. * * @generated from field: required string sid = 1; */ sid?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataTrackUnpublished"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataTrackUnpublished; static fromJson(jsonValue: JsonValue, options?: Partial): DataTrackUnpublished; static fromJsonString(jsonString: string, options?: Partial): DataTrackUnpublished; static equals(a: DataTrackUnpublished | PlainMessage | undefined, b: DataTrackUnpublished | PlainMessage | undefined): boolean; }