
//#region src/v2/runtime/telemetry/events.d.ts
type AnalyticsEvents = {
  "oss.runtime.instance_created": RuntimeInstanceCreatedInfo;
  "oss.runtime.copilot_request_created": {
    "cloud.guardrails.enabled": boolean;
    requestType: string;
    "cloud.api_key_provided": boolean;
    "cloud.public_api_key"?: string;
    "cloud.base_url"?: string;
  };
  "oss.runtime.agent_execution_stream_started": {
    hashedLgcKey?: string;
  };
  "oss.runtime.agent_execution_stream_ended": AgentExecutionResponseInfo;
  "oss.runtime.agent_execution_stream_errored": {
    hashedLgcKey?: string;
    error?: string;
  };
  /**
   * A managed Channel lost its gateway link. Carries only the cause we already
   * compute for the log line — never the Channel name, which is a
   * customer-chosen identifier, and never message content.
   */
  "oss.runtime.channel_session_dropped": ChannelSessionDroppedInfo; /** A managed Channel's gateway link came back, and how long it was gone. */
  "oss.runtime.channel_session_recovered": {
    downForMs: number;
  };
};
interface ChannelSessionDroppedInfo {
  /** Diagnosis of the drop, e.g. `the gateway host answered HTTP 502`. */
  reason?: string;
  /** Transport/OS code when the transport named one, e.g. `ECONNRESET`. */
  code?: string;
}
interface RuntimeInstanceCreatedInfo {
  actionsAmount: number;
  endpointTypes: string[];
  hashedLgcKey?: string;
  endpointsAmount: number;
  agentsAmount?: number | null;
  "cloud.api_key_provided": boolean;
  "cloud.public_api_key"?: string;
  "cloud.base_url"?: string;
}
interface AgentExecutionResponseInfo {
  provider?: string;
  model?: string;
  langGraphHost?: string;
  langGraphVersion?: string;
  hashedLgcKey?: string;
}
//#endregion
export { AnalyticsEvents };
//# sourceMappingURL=events.d.cts.map