// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
// @generated from file agent/livekit_agent_dev.proto (package livekit.agent, syntax proto3)
/* eslint-disable */
// @ts-nocheck

import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";

/**
 * AgentDevMessage is used for IPC between the CLI and agent processes
 * during dev-mode hot reload.
 *
 * @generated from message livekit.agent.AgentDevMessage
 */
export declare class AgentDevMessage extends Message<AgentDevMessage> {
  /**
   * @generated from oneof livekit.agent.AgentDevMessage.message
   */
  message: {
    /**
     * @generated from field: livekit.agent.GetRunningAgentJobsRequest get_running_jobs_request = 1;
     */
    value: GetRunningAgentJobsRequest;
    case: "getRunningJobsRequest";
  } | {
    /**
     * @generated from field: livekit.agent.GetRunningAgentJobsResponse get_running_jobs_response = 2;
     */
    value: GetRunningAgentJobsResponse;
    case: "getRunningJobsResponse";
  } | {
    /**
     * @generated from field: livekit.agent.ServerInfo server_info = 3;
     */
    value: ServerInfo;
    case: "serverInfo";
  } | { case: undefined; value?: undefined };

  constructor(data?: PartialMessage<AgentDevMessage>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.agent.AgentDevMessage";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDevMessage;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDevMessage;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDevMessage;

  static equals(a: AgentDevMessage | PlainMessage<AgentDevMessage> | undefined, b: AgentDevMessage | PlainMessage<AgentDevMessage> | undefined): boolean;
}

/**
 * ServerInfo is sent by the agent to the CLI when the dev-reload channel opens,
 *
 * @generated from message livekit.agent.ServerInfo
 */
export declare class ServerInfo extends Message<ServerInfo> {
  /**
   * @generated from field: string agent_name = 1;
   */
  agentName: string;

  /**
   * @generated from field: string url = 2;
   */
  url: string;

  constructor(data?: PartialMessage<ServerInfo>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.agent.ServerInfo";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServerInfo;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServerInfo;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServerInfo;

  static equals(a: ServerInfo | PlainMessage<ServerInfo> | undefined, b: ServerInfo | PlainMessage<ServerInfo> | undefined): boolean;
}

/**
 * @generated from message livekit.agent.GetRunningAgentJobsRequest
 */
export declare class GetRunningAgentJobsRequest extends Message<GetRunningAgentJobsRequest> {
  constructor(data?: PartialMessage<GetRunningAgentJobsRequest>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.agent.GetRunningAgentJobsRequest";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRunningAgentJobsRequest;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRunningAgentJobsRequest;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRunningAgentJobsRequest;

  static equals(a: GetRunningAgentJobsRequest | PlainMessage<GetRunningAgentJobsRequest> | undefined, b: GetRunningAgentJobsRequest | PlainMessage<GetRunningAgentJobsRequest> | undefined): boolean;
}

/**
 * @generated from message livekit.agent.GetRunningAgentJobsResponse
 */
export declare class GetRunningAgentJobsResponse extends Message<GetRunningAgentJobsResponse> {
  /**
   * @generated from field: repeated livekit.agent.RunningAgentJobInfo jobs = 1;
   */
  jobs: RunningAgentJobInfo[];

  constructor(data?: PartialMessage<GetRunningAgentJobsResponse>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.agent.GetRunningAgentJobsResponse";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRunningAgentJobsResponse;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRunningAgentJobsResponse;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRunningAgentJobsResponse;

  static equals(a: GetRunningAgentJobsResponse | PlainMessage<GetRunningAgentJobsResponse> | undefined, b: GetRunningAgentJobsResponse | PlainMessage<GetRunningAgentJobsResponse> | undefined): boolean;
}

/**
 * @generated from message livekit.agent.RunningAgentJobInfo
 */
export declare class RunningAgentJobInfo extends Message<RunningAgentJobInfo> {
  /**
   * @generated from field: bytes job = 1;
   */
  job: Uint8Array;

  /**
   * @generated from field: string accept_name = 2;
   */
  acceptName: string;

  /**
   * @generated from field: string accept_identity = 3;
   */
  acceptIdentity: string;

  /**
   * @generated from field: string accept_metadata = 4;
   */
  acceptMetadata: string;

  /**
   * @generated from field: string url = 5;
   */
  url: string;

  /**
   * @generated from field: string token = 6;
   */
  token: string;

  /**
   * @generated from field: string worker_id = 7;
   */
  workerId: string;

  /**
   * @generated from field: bool mock_job = 8;
   */
  mockJob: boolean;

  constructor(data?: PartialMessage<RunningAgentJobInfo>);

  static readonly runtime: typeof proto3;
  static readonly typeName = "livekit.agent.RunningAgentJobInfo";
  static readonly fields: FieldList;

  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunningAgentJobInfo;

  static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunningAgentJobInfo;

  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunningAgentJobInfo;

  static equals(a: RunningAgentJobInfo | PlainMessage<RunningAgentJobInfo> | undefined, b: RunningAgentJobInfo | PlainMessage<RunningAgentJobInfo> | undefined): boolean;
}

