// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js" // @generated from file agent/livekit_agent_session.proto (package livekit.agent, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * @generated from enum livekit.agent.ChatRole */ export declare enum ChatRole { /** * @generated from enum value: DEVELOPER = 0; */ DEVELOPER = 0, /** * @generated from enum value: SYSTEM = 1; */ SYSTEM = 1, /** * @generated from enum value: USER = 2; */ USER = 2, /** * @generated from enum value: ASSISTANT = 3; */ ASSISTANT = 3, } /** * @generated from enum livekit.agent.AgentState */ export declare enum AgentState { /** * @generated from enum value: AS_INITIALIZING = 0; */ AS_INITIALIZING = 0, /** * @generated from enum value: AS_IDLE = 1; */ AS_IDLE = 1, /** * @generated from enum value: AS_LISTENING = 2; */ AS_LISTENING = 2, /** * @generated from enum value: AS_THINKING = 3; */ AS_THINKING = 3, /** * @generated from enum value: AS_SPEAKING = 4; */ AS_SPEAKING = 4, } /** * @generated from enum livekit.agent.UserState */ export declare enum UserState { /** * @generated from enum value: US_SPEAKING = 0; */ US_SPEAKING = 0, /** * @generated from enum value: US_LISTENING = 1; */ US_LISTENING = 1, /** * @generated from enum value: US_AWAY = 2; */ US_AWAY = 2, } /** * @generated from message livekit.agent.MetricsReport */ export declare class MetricsReport extends Message { /** * @generated from field: google.protobuf.Timestamp started_speaking_at = 1; */ startedSpeakingAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp stopped_speaking_at = 2; */ stoppedSpeakingAt?: Timestamp; /** * @generated from field: optional double transcription_delay = 3; */ transcriptionDelay?: number; /** * @generated from field: optional double end_of_turn_delay = 4; */ endOfTurnDelay?: number; /** * @generated from field: optional double on_user_turn_completed_delay = 5; */ onUserTurnCompletedDelay?: number; /** * @generated from field: optional double llm_node_ttft = 6; */ llmNodeTtft?: number; /** * @generated from field: optional double tts_node_ttfb = 7; */ ttsNodeTtfb?: number; /** * @generated from field: optional double e2e_latency = 8; */ e2eLatency?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.MetricsReport"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MetricsReport; static fromJson(jsonValue: JsonValue, options?: Partial): MetricsReport; static fromJsonString(jsonString: string, options?: Partial): MetricsReport; static equals(a: MetricsReport | PlainMessage | undefined, b: MetricsReport | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.ChatMessage */ export declare class ChatMessage extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: livekit.agent.ChatRole role = 2; */ role: ChatRole; /** * @generated from field: repeated livekit.agent.ChatMessage.ChatContent content = 3; */ content: ChatMessage_ChatContent[]; /** * @generated from field: bool interrupted = 4; */ interrupted: boolean; /** * @generated from field: optional double transcript_confidence = 5; */ transcriptConfidence?: number; /** * @generated from field: map extra = 6; */ extra: { [key: string]: string }; /** * @generated from field: livekit.agent.MetricsReport metrics = 7; */ metrics?: MetricsReport; /** * @generated from field: google.protobuf.Timestamp created_at = 8; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.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.agent.ChatMessage.ChatContent */ export declare class ChatMessage_ChatContent extends Message { /** * @generated from oneof livekit.agent.ChatMessage.ChatContent.payload */ payload: { /** * @generated from field: string text = 1; */ value: string; case: "text"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.ChatMessage.ChatContent"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage_ChatContent; static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage_ChatContent; static fromJsonString(jsonString: string, options?: Partial): ChatMessage_ChatContent; static equals(a: ChatMessage_ChatContent | PlainMessage | undefined, b: ChatMessage_ChatContent | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.FunctionCall */ export declare class FunctionCall extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string call_id = 2; */ callId: string; /** * @generated from field: string arguments = 3; */ arguments: string; /** * @generated from field: string name = 4; */ name: string; /** * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.FunctionCall"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FunctionCall; static fromJson(jsonValue: JsonValue, options?: Partial): FunctionCall; static fromJsonString(jsonString: string, options?: Partial): FunctionCall; static equals(a: FunctionCall | PlainMessage | undefined, b: FunctionCall | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.FunctionCallOutput */ export declare class FunctionCallOutput extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: string call_id = 3; */ callId: string; /** * @generated from field: string output = 4; */ output: string; /** * @generated from field: bool is_error = 5; */ isError: boolean; /** * @generated from field: google.protobuf.Timestamp created_at = 6; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.FunctionCallOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FunctionCallOutput; static fromJson(jsonValue: JsonValue, options?: Partial): FunctionCallOutput; static fromJsonString(jsonString: string, options?: Partial): FunctionCallOutput; static equals(a: FunctionCallOutput | PlainMessage | undefined, b: FunctionCallOutput | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentHandoff */ export declare class AgentHandoff extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: optional string old_agent_id = 2; */ oldAgentId?: string; /** * @generated from field: string new_agent_id = 3; */ newAgentId: string; /** * @generated from field: google.protobuf.Timestamp created_at = 4; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentHandoff"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentHandoff; static fromJson(jsonValue: JsonValue, options?: Partial): AgentHandoff; static fromJsonString(jsonString: string, options?: Partial): AgentHandoff; static equals(a: AgentHandoff | PlainMessage | undefined, b: AgentHandoff | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentConfigUpdate */ export declare class AgentConfigUpdate extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: optional string instructions = 2; */ instructions?: string; /** * @generated from field: repeated string tools_added = 3; */ toolsAdded: string[]; /** * @generated from field: repeated string tools_removed = 4; */ toolsRemoved: string[]; /** * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentConfigUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentConfigUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): AgentConfigUpdate; static fromJsonString(jsonString: string, options?: Partial): AgentConfigUpdate; static equals(a: AgentConfigUpdate | PlainMessage | undefined, b: AgentConfigUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.ChatContext */ export declare class ChatContext extends Message { /** * @generated from field: repeated livekit.agent.ChatContext.ChatItem items = 1; */ items: ChatContext_ChatItem[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.ChatContext"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ChatContext; static fromJson(jsonValue: JsonValue, options?: Partial): ChatContext; static fromJsonString(jsonString: string, options?: Partial): ChatContext; static equals(a: ChatContext | PlainMessage | undefined, b: ChatContext | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.ChatContext.ChatItem */ export declare class ChatContext_ChatItem extends Message { /** * @generated from oneof livekit.agent.ChatContext.ChatItem.item */ item: { /** * @generated from field: livekit.agent.ChatMessage message = 1; */ value: ChatMessage; case: "message"; } | { /** * @generated from field: livekit.agent.FunctionCall function_call = 2; */ value: FunctionCall; case: "functionCall"; } | { /** * @generated from field: livekit.agent.FunctionCallOutput function_call_output = 3; */ value: FunctionCallOutput; case: "functionCallOutput"; } | { /** * @generated from field: livekit.agent.AgentHandoff agent_handoff = 4; */ value: AgentHandoff; case: "agentHandoff"; } | { /** * @generated from field: livekit.agent.AgentConfigUpdate agent_config_update = 5; */ value: AgentConfigUpdate; case: "agentConfigUpdate"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.ChatContext.ChatItem"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ChatContext_ChatItem; static fromJson(jsonValue: JsonValue, options?: Partial): ChatContext_ChatItem; static fromJsonString(jsonString: string, options?: Partial): ChatContext_ChatItem; static equals(a: ChatContext_ChatItem | PlainMessage | undefined, b: ChatContext_ChatItem | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.LLMModelUsage */ export declare class LLMModelUsage extends Message { /** * @generated from field: string provider = 1; */ provider: string; /** * @generated from field: string model = 2; */ model: string; /** * @generated from field: int32 input_tokens = 3; */ inputTokens: number; /** * @generated from field: int32 input_cached_tokens = 4; */ inputCachedTokens: number; /** * @generated from field: int32 input_audio_tokens = 5; */ inputAudioTokens: number; /** * @generated from field: int32 input_cached_audio_tokens = 6; */ inputCachedAudioTokens: number; /** * @generated from field: int32 input_text_tokens = 7; */ inputTextTokens: number; /** * @generated from field: int32 input_cached_text_tokens = 8; */ inputCachedTextTokens: number; /** * @generated from field: int32 input_image_tokens = 9; */ inputImageTokens: number; /** * @generated from field: int32 input_cached_image_tokens = 10; */ inputCachedImageTokens: number; /** * @generated from field: int32 output_tokens = 11; */ outputTokens: number; /** * @generated from field: int32 output_audio_tokens = 12; */ outputAudioTokens: number; /** * @generated from field: int32 output_text_tokens = 13; */ outputTextTokens: number; /** * @generated from field: double session_duration = 14; */ sessionDuration: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.LLMModelUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): LLMModelUsage; static fromJson(jsonValue: JsonValue, options?: Partial): LLMModelUsage; static fromJsonString(jsonString: string, options?: Partial): LLMModelUsage; static equals(a: LLMModelUsage | PlainMessage | undefined, b: LLMModelUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.TTSModelUsage */ export declare class TTSModelUsage extends Message { /** * @generated from field: string provider = 1; */ provider: string; /** * @generated from field: string model = 2; */ model: string; /** * @generated from field: int32 input_tokens = 3; */ inputTokens: number; /** * @generated from field: int32 output_tokens = 4; */ outputTokens: number; /** * @generated from field: int32 characters_count = 5; */ charactersCount: number; /** * @generated from field: double audio_duration = 6; */ audioDuration: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.TTSModelUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TTSModelUsage; static fromJson(jsonValue: JsonValue, options?: Partial): TTSModelUsage; static fromJsonString(jsonString: string, options?: Partial): TTSModelUsage; static equals(a: TTSModelUsage | PlainMessage | undefined, b: TTSModelUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.STTModelUsage */ export declare class STTModelUsage extends Message { /** * @generated from field: string provider = 1; */ provider: string; /** * @generated from field: string model = 2; */ model: string; /** * @generated from field: int32 input_tokens = 3; */ inputTokens: number; /** * @generated from field: int32 output_tokens = 4; */ outputTokens: number; /** * @generated from field: double audio_duration = 5; */ audioDuration: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.STTModelUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): STTModelUsage; static fromJson(jsonValue: JsonValue, options?: Partial): STTModelUsage; static fromJsonString(jsonString: string, options?: Partial): STTModelUsage; static equals(a: STTModelUsage | PlainMessage | undefined, b: STTModelUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.InterruptionModelUsage */ export declare class InterruptionModelUsage extends Message { /** * @generated from field: string provider = 1; */ provider: string; /** * @generated from field: string model = 2; */ model: string; /** * @generated from field: int32 total_requests = 3; */ totalRequests: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.InterruptionModelUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): InterruptionModelUsage; static fromJson(jsonValue: JsonValue, options?: Partial): InterruptionModelUsage; static fromJsonString(jsonString: string, options?: Partial): InterruptionModelUsage; static equals(a: InterruptionModelUsage | PlainMessage | undefined, b: InterruptionModelUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.ModelUsage */ export declare class ModelUsage extends Message { /** * @generated from oneof livekit.agent.ModelUsage.usage */ usage: { /** * @generated from field: livekit.agent.LLMModelUsage llm = 1; */ value: LLMModelUsage; case: "llm"; } | { /** * @generated from field: livekit.agent.TTSModelUsage tts = 2; */ value: TTSModelUsage; case: "tts"; } | { /** * @generated from field: livekit.agent.STTModelUsage stt = 3; */ value: STTModelUsage; case: "stt"; } | { /** * @generated from field: livekit.agent.InterruptionModelUsage interruption = 4; */ value: InterruptionModelUsage; case: "interruption"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.ModelUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ModelUsage; static fromJson(jsonValue: JsonValue, options?: Partial): ModelUsage; static fromJsonString(jsonString: string, options?: Partial): ModelUsage; static equals(a: ModelUsage | PlainMessage | undefined, b: ModelUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionUsage */ export declare class AgentSessionUsage extends Message { /** * @generated from field: repeated livekit.agent.ModelUsage model_usage = 1; */ modelUsage: ModelUsage[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionUsage; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionUsage; static fromJsonString(jsonString: string, options?: Partial): AgentSessionUsage; static equals(a: AgentSessionUsage | PlainMessage | undefined, b: AgentSessionUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent */ export declare class AgentSessionEvent extends Message { /** * @generated from field: google.protobuf.Timestamp created_at = 1; */ createdAt?: Timestamp; /** * @generated from oneof livekit.agent.AgentSessionEvent.event */ event: { /** * @generated from field: livekit.agent.AgentSessionEvent.AgentStateChanged agent_state_changed = 10; */ value: AgentSessionEvent_AgentStateChanged; case: "agentStateChanged"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.UserStateChanged user_state_changed = 11; */ value: AgentSessionEvent_UserStateChanged; case: "userStateChanged"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.ConversationItemAdded conversation_item_added = 12; */ value: AgentSessionEvent_ConversationItemAdded; case: "conversationItemAdded"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.UserInputTranscribed user_input_transcribed = 13; */ value: AgentSessionEvent_UserInputTranscribed; case: "userInputTranscribed"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.FunctionToolsExecuted function_tools_executed = 14; */ value: AgentSessionEvent_FunctionToolsExecuted; case: "functionToolsExecuted"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.Error error = 15; */ value: AgentSessionEvent_Error; case: "error"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.OverlappingSpeech overlapping_speech = 16; */ value: AgentSessionEvent_OverlappingSpeech; case: "overlappingSpeech"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.SessionUsageUpdated session_usage_updated = 17; */ value: AgentSessionEvent_SessionUsageUpdated; case: "sessionUsageUpdated"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent; static equals(a: AgentSessionEvent | PlainMessage | undefined, b: AgentSessionEvent | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.AgentStateChanged */ export declare class AgentSessionEvent_AgentStateChanged extends Message { /** * @generated from field: livekit.agent.AgentState old_state = 1; */ oldState: AgentState; /** * @generated from field: livekit.agent.AgentState new_state = 2; */ newState: AgentState; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.AgentStateChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_AgentStateChanged; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_AgentStateChanged; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_AgentStateChanged; static equals(a: AgentSessionEvent_AgentStateChanged | PlainMessage | undefined, b: AgentSessionEvent_AgentStateChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.UserStateChanged */ export declare class AgentSessionEvent_UserStateChanged extends Message { /** * @generated from field: livekit.agent.UserState old_state = 1; */ oldState: UserState; /** * @generated from field: livekit.agent.UserState new_state = 2; */ newState: UserState; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.UserStateChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_UserStateChanged; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_UserStateChanged; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_UserStateChanged; static equals(a: AgentSessionEvent_UserStateChanged | PlainMessage | undefined, b: AgentSessionEvent_UserStateChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.ConversationItemAdded */ export declare class AgentSessionEvent_ConversationItemAdded extends Message { /** * @generated from field: livekit.agent.ChatContext.ChatItem item = 1; */ item?: ChatContext_ChatItem; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.ConversationItemAdded"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_ConversationItemAdded; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_ConversationItemAdded; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_ConversationItemAdded; static equals(a: AgentSessionEvent_ConversationItemAdded | PlainMessage | undefined, b: AgentSessionEvent_ConversationItemAdded | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.UserInputTranscribed */ export declare class AgentSessionEvent_UserInputTranscribed extends Message { /** * @generated from field: string transcript = 1; */ transcript: string; /** * @generated from field: bool is_final = 2; */ isFinal: boolean; /** * @generated from field: optional string language = 3; */ language?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.UserInputTranscribed"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_UserInputTranscribed; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_UserInputTranscribed; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_UserInputTranscribed; static equals(a: AgentSessionEvent_UserInputTranscribed | PlainMessage | undefined, b: AgentSessionEvent_UserInputTranscribed | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.FunctionToolsExecuted */ export declare class AgentSessionEvent_FunctionToolsExecuted extends Message { /** * @generated from field: repeated livekit.agent.FunctionCall function_calls = 1; */ functionCalls: FunctionCall[]; /** * @generated from field: repeated livekit.agent.FunctionCallOutput function_call_outputs = 2; */ functionCallOutputs: FunctionCallOutput[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.FunctionToolsExecuted"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_FunctionToolsExecuted; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_FunctionToolsExecuted; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_FunctionToolsExecuted; static equals(a: AgentSessionEvent_FunctionToolsExecuted | PlainMessage | undefined, b: AgentSessionEvent_FunctionToolsExecuted | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.Error */ export declare class AgentSessionEvent_Error extends Message { /** * @generated from field: string message = 1; */ message: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.Error"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_Error; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_Error; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_Error; static equals(a: AgentSessionEvent_Error | PlainMessage | undefined, b: AgentSessionEvent_Error | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.OverlappingSpeech */ export declare class AgentSessionEvent_OverlappingSpeech extends Message { /** * @generated from field: bool is_interruption = 1; */ isInterruption: boolean; /** * @generated from field: optional google.protobuf.Timestamp overlap_started_at = 2; */ overlapStartedAt?: Timestamp; /** * @generated from field: double detection_delay = 3; */ detectionDelay: number; /** * @generated from field: google.protobuf.Timestamp detected_at = 4; */ detectedAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.OverlappingSpeech"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_OverlappingSpeech; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_OverlappingSpeech; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_OverlappingSpeech; static equals(a: AgentSessionEvent_OverlappingSpeech | PlainMessage | undefined, b: AgentSessionEvent_OverlappingSpeech | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated */ export declare class AgentSessionEvent_SessionUsageUpdated extends Message { /** * @generated from field: livekit.agent.AgentSessionUsage usage = 1; */ usage?: AgentSessionUsage; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.SessionUsageUpdated"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_SessionUsageUpdated; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_SessionUsageUpdated; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_SessionUsageUpdated; static equals(a: AgentSessionEvent_SessionUsageUpdated | PlainMessage | undefined, b: AgentSessionEvent_SessionUsageUpdated | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest */ export declare class SessionRequest extends Message { /** * @generated from field: string request_id = 1; */ requestId: string; /** * @generated from oneof livekit.agent.SessionRequest.request */ request: { /** * @generated from field: livekit.agent.SessionRequest.Ping ping = 2; */ value: SessionRequest_Ping; case: "ping"; } | { /** * @generated from field: livekit.agent.SessionRequest.GetChatHistory get_chat_history = 4; */ value: SessionRequest_GetChatHistory; case: "getChatHistory"; } | { /** * @generated from field: livekit.agent.SessionRequest.RunInput run_input = 5; */ value: SessionRequest_RunInput; case: "runInput"; } | { /** * @generated from field: livekit.agent.SessionRequest.GetAgentInfo get_agent_info = 6; */ value: SessionRequest_GetAgentInfo; case: "getAgentInfo"; } | { /** * @generated from field: livekit.agent.SessionRequest.GetSessionState get_session_state = 7; */ value: SessionRequest_GetSessionState; case: "getSessionState"; } | { /** * @generated from field: livekit.agent.SessionRequest.GetRTCStats get_rtc_stats = 8; */ value: SessionRequest_GetRTCStats; case: "getRtcStats"; } | { /** * @generated from field: livekit.agent.SessionRequest.GetSessionUsage get_session_usage = 9; */ value: SessionRequest_GetSessionUsage; case: "getSessionUsage"; } | { /** * @generated from field: livekit.agent.SessionRequest.GetFrameworkInfo get_framework_info = 10; */ value: SessionRequest_GetFrameworkInfo; case: "getFrameworkInfo"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest; static fromJsonString(jsonString: string, options?: Partial): SessionRequest; static equals(a: SessionRequest | PlainMessage | undefined, b: SessionRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.Ping */ export declare class SessionRequest_Ping extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.Ping"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_Ping; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_Ping; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_Ping; static equals(a: SessionRequest_Ping | PlainMessage | undefined, b: SessionRequest_Ping | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.GetChatHistory */ export declare class SessionRequest_GetChatHistory extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.GetChatHistory"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_GetChatHistory; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_GetChatHistory; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_GetChatHistory; static equals(a: SessionRequest_GetChatHistory | PlainMessage | undefined, b: SessionRequest_GetChatHistory | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.RunInput */ export declare class SessionRequest_RunInput extends Message { /** * @generated from field: string text = 1; */ text: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.RunInput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_RunInput; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_RunInput; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_RunInput; static equals(a: SessionRequest_RunInput | PlainMessage | undefined, b: SessionRequest_RunInput | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.GetAgentInfo */ export declare class SessionRequest_GetAgentInfo extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.GetAgentInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_GetAgentInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_GetAgentInfo; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_GetAgentInfo; static equals(a: SessionRequest_GetAgentInfo | PlainMessage | undefined, b: SessionRequest_GetAgentInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.GetSessionState */ export declare class SessionRequest_GetSessionState extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.GetSessionState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_GetSessionState; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_GetSessionState; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_GetSessionState; static equals(a: SessionRequest_GetSessionState | PlainMessage | undefined, b: SessionRequest_GetSessionState | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.GetRTCStats */ export declare class SessionRequest_GetRTCStats extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.GetRTCStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_GetRTCStats; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_GetRTCStats; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_GetRTCStats; static equals(a: SessionRequest_GetRTCStats | PlainMessage | undefined, b: SessionRequest_GetRTCStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.GetSessionUsage */ export declare class SessionRequest_GetSessionUsage extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.GetSessionUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_GetSessionUsage; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_GetSessionUsage; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_GetSessionUsage; static equals(a: SessionRequest_GetSessionUsage | PlainMessage | undefined, b: SessionRequest_GetSessionUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.GetFrameworkInfo */ export declare class SessionRequest_GetFrameworkInfo extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.GetFrameworkInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_GetFrameworkInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_GetFrameworkInfo; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_GetFrameworkInfo; static equals(a: SessionRequest_GetFrameworkInfo | PlainMessage | undefined, b: SessionRequest_GetFrameworkInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse */ export declare class SessionResponse extends Message { /** * @generated from field: string request_id = 1; */ requestId: string; /** * @generated from field: optional string error = 2; */ error?: string; /** * @generated from oneof livekit.agent.SessionResponse.response */ response: { /** * @generated from field: livekit.agent.SessionResponse.Pong pong = 3; */ value: SessionResponse_Pong; case: "pong"; } | { /** * @generated from field: livekit.agent.SessionResponse.GetChatHistoryResponse get_chat_history = 5; */ value: SessionResponse_GetChatHistoryResponse; case: "getChatHistory"; } | { /** * @generated from field: livekit.agent.SessionResponse.RunInputResponse run_input = 6; */ value: SessionResponse_RunInputResponse; case: "runInput"; } | { /** * @generated from field: livekit.agent.SessionResponse.GetAgentInfoResponse get_agent_info = 7; */ value: SessionResponse_GetAgentInfoResponse; case: "getAgentInfo"; } | { /** * @generated from field: livekit.agent.SessionResponse.GetSessionStateResponse get_session_state = 8; */ value: SessionResponse_GetSessionStateResponse; case: "getSessionState"; } | { /** * @generated from field: livekit.agent.SessionResponse.GetRTCStatsResponse get_rtc_stats = 9; */ value: SessionResponse_GetRTCStatsResponse; case: "getRtcStats"; } | { /** * @generated from field: livekit.agent.SessionResponse.GetSessionUsageResponse get_session_usage = 10; */ value: SessionResponse_GetSessionUsageResponse; case: "getSessionUsage"; } | { /** * @generated from field: livekit.agent.SessionResponse.GetFrameworkInfoResponse get_framework_info = 11; */ value: SessionResponse_GetFrameworkInfoResponse; case: "getFrameworkInfo"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse; static equals(a: SessionResponse | PlainMessage | undefined, b: SessionResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.Pong */ export declare class SessionResponse_Pong extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.Pong"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_Pong; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_Pong; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_Pong; static equals(a: SessionResponse_Pong | PlainMessage | undefined, b: SessionResponse_Pong | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.GetChatHistoryResponse */ export declare class SessionResponse_GetChatHistoryResponse extends Message { /** * @generated from field: repeated livekit.agent.ChatContext.ChatItem items = 1; */ items: ChatContext_ChatItem[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.GetChatHistoryResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_GetChatHistoryResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_GetChatHistoryResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_GetChatHistoryResponse; static equals(a: SessionResponse_GetChatHistoryResponse | PlainMessage | undefined, b: SessionResponse_GetChatHistoryResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.GetAgentInfoResponse */ export declare class SessionResponse_GetAgentInfoResponse extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: optional string instructions = 2; */ instructions?: string; /** * @generated from field: repeated string tools = 3; */ tools: string[]; /** * @generated from field: repeated livekit.agent.ChatContext.ChatItem chat_ctx = 4; */ chatCtx: ChatContext_ChatItem[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.GetAgentInfoResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_GetAgentInfoResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_GetAgentInfoResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_GetAgentInfoResponse; static equals(a: SessionResponse_GetAgentInfoResponse | PlainMessage | undefined, b: SessionResponse_GetAgentInfoResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.RunInputResponse */ export declare class SessionResponse_RunInputResponse extends Message { /** * @generated from field: repeated livekit.agent.ChatContext.ChatItem items = 1; */ items: ChatContext_ChatItem[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.RunInputResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_RunInputResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_RunInputResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_RunInputResponse; static equals(a: SessionResponse_RunInputResponse | PlainMessage | undefined, b: SessionResponse_RunInputResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.GetSessionStateResponse */ export declare class SessionResponse_GetSessionStateResponse extends Message { /** * @generated from field: livekit.agent.AgentState agent_state = 1; */ agentState: AgentState; /** * @generated from field: livekit.agent.UserState user_state = 2; */ userState: UserState; /** * @generated from field: string agent_id = 3; */ agentId: string; /** * @generated from field: map options = 4; */ options: { [key: string]: string }; /** * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.GetSessionStateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_GetSessionStateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_GetSessionStateResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_GetSessionStateResponse; static equals(a: SessionResponse_GetSessionStateResponse | PlainMessage | undefined, b: SessionResponse_GetSessionStateResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.GetRTCStatsResponse */ export declare class SessionResponse_GetRTCStatsResponse extends Message { /** * @generated from field: repeated google.protobuf.Struct publisher_stats = 1; */ publisherStats: Struct[]; /** * @generated from field: repeated google.protobuf.Struct subscriber_stats = 2; */ subscriberStats: Struct[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.GetRTCStatsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_GetRTCStatsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_GetRTCStatsResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_GetRTCStatsResponse; static equals(a: SessionResponse_GetRTCStatsResponse | PlainMessage | undefined, b: SessionResponse_GetRTCStatsResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.GetSessionUsageResponse */ export declare class SessionResponse_GetSessionUsageResponse extends Message { /** * @generated from field: livekit.agent.AgentSessionUsage usage = 1; */ usage?: AgentSessionUsage; /** * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.GetSessionUsageResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_GetSessionUsageResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_GetSessionUsageResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_GetSessionUsageResponse; static equals(a: SessionResponse_GetSessionUsageResponse | PlainMessage | undefined, b: SessionResponse_GetSessionUsageResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.GetFrameworkInfoResponse */ export declare class SessionResponse_GetFrameworkInfoResponse extends Message { /** * @generated from field: string sdk = 1; */ sdk: string; /** * @generated from field: string sdk_version = 2; */ sdkVersion: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.GetFrameworkInfoResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_GetFrameworkInfoResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_GetFrameworkInfoResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_GetFrameworkInfoResponse; static equals(a: SessionResponse_GetFrameworkInfoResponse | PlainMessage | undefined, b: SessionResponse_GetFrameworkInfoResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionMessage */ export declare class AgentSessionMessage extends Message { /** * @generated from oneof livekit.agent.AgentSessionMessage.message */ message: { /** * @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame audio_input = 1; */ value: AgentSessionMessage_ConsoleIO_AudioFrame; case: "audioInput"; } | { /** * @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame audio_output = 2; */ value: AgentSessionMessage_ConsoleIO_AudioFrame; case: "audioOutput"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent event = 3; */ value: AgentSessionEvent; case: "event"; } | { /** * @generated from field: livekit.agent.SessionRequest request = 4; */ value: SessionRequest; case: "request"; } | { /** * @generated from field: livekit.agent.SessionResponse response = 5; */ value: SessionResponse; case: "response"; } | { /** * @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush audio_playback_flush = 6; */ value: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush; case: "audioPlaybackFlush"; } | { /** * @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear audio_playback_clear = 7; */ value: AgentSessionMessage_ConsoleIO_AudioPlaybackClear; case: "audioPlaybackClear"; } | { /** * @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished audio_playback_finished = 8; */ value: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished; case: "audioPlaybackFinished"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionMessage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionMessage; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionMessage; static fromJsonString(jsonString: string, options?: Partial): AgentSessionMessage; static equals(a: AgentSessionMessage | PlainMessage | undefined, b: AgentSessionMessage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO */ export declare class AgentSessionMessage_ConsoleIO extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionMessage_ConsoleIO; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionMessage_ConsoleIO; static fromJsonString(jsonString: string, options?: Partial): AgentSessionMessage_ConsoleIO; static equals(a: AgentSessionMessage_ConsoleIO | PlainMessage | undefined, b: AgentSessionMessage_ConsoleIO | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame */ export declare class AgentSessionMessage_ConsoleIO_AudioFrame extends Message { /** * @generated from field: bytes data = 1; */ data: Uint8Array; /** * @generated from field: uint32 sample_rate = 2; */ sampleRate: number; /** * @generated from field: uint32 num_channels = 3; */ numChannels: number; /** * @generated from field: uint32 samples_per_channel = 4; */ samplesPerChannel: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionMessage_ConsoleIO_AudioFrame; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionMessage_ConsoleIO_AudioFrame; static fromJsonString(jsonString: string, options?: Partial): AgentSessionMessage_ConsoleIO_AudioFrame; static equals(a: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage | undefined, b: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush */ export declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFlush extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush; static fromJsonString(jsonString: string, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush; static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear */ export declare class AgentSessionMessage_ConsoleIO_AudioPlaybackClear extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackClear; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackClear; static fromJsonString(jsonString: string, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackClear; static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished */ export declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFinished extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished; static fromJsonString(jsonString: string, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished; static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage | undefined): boolean; }