//#region src/constants/otel-attributes.d.ts
declare const DELEGATION_FROM_SUB_AGENT_ID = "delegation.from_sub_agent_id";
declare const DELEGATION_TO_SUB_AGENT_ID = "delegation.to_sub_agent_id";
declare const DELEGATION_ID = "delegation.id";
declare const TRANSFER_FROM_SUB_AGENT_ID = "transfer.from_sub_agent_id";
declare const TRANSFER_TO_SUB_AGENT_ID = "transfer.to_sub_agent_id";
declare const SPAN_NAMES: {
  readonly AI_TOOL_CALL: "ai.toolCall";
  readonly CONTEXT_RESOLUTION: "context-resolver.resolve_single_fetch_definition";
  readonly CONTEXT_HANDLE: "context.handle_context_resolution";
  readonly AGENT_GENERATION: "agent.generate";
  readonly CONTEXT_FETCHER: "context-fetcher.http-request";
  readonly ARTIFACT_PROCESSING: "agent_session.process_artifact";
  readonly TOOL_APPROVAL_REQUESTED: "tool.approval_requested";
  readonly TOOL_APPROVAL_APPROVED: "tool.approval_approved";
  readonly TOOL_APPROVAL_DENIED: "tool.approval_denied";
  readonly COMPRESSOR_SAFE_COMPRESS: "compressor.safe_compress";
  readonly AGENT_MAX_STEPS_REACHED: "agent.max_steps_reached";
  readonly STREAM_FORCE_CLEANUP: "stream.force_cleanup";
  readonly DURABLE_TOOL_EXECUTION: "durable.tool_execution";
  readonly EXECUTION_HANDLER_EXECUTE: "execution_handler.execute";
};
declare const AI_OPERATIONS: {
  readonly GENERATE_TEXT: "ai.generateText.doGenerate";
  readonly STREAM_TEXT: "ai.streamText.doStream";
};
/** OpenTelemetry span attribute keys used for tracing */
declare const SPAN_KEYS: {
  readonly SPAN_ID: "spanID";
  readonly TRACE_ID: "traceID";
  readonly DURATION_NANO: "durationNano";
  readonly TIMESTAMP: "timestamp";
  readonly HAS_ERROR: "hasError";
  readonly STATUS_MESSAGE: "status_message";
  readonly OTEL_STATUS_CODE: "otel.status_code";
  readonly OTEL_STATUS_DESCRIPTION: "otel.status_description";
  readonly AGENT_ID: "agent.id";
  readonly AGENT_NAME: "agent.name";
  readonly TENANT_ID: "tenant.id";
  readonly PROJECT_ID: "project.id";
  readonly SUB_AGENT_NAME: "subAgent.name";
  readonly SUB_AGENT_ID: "subAgent.id";
  readonly AI_OPERATION_ID: "ai.operationId";
  readonly AI_RESPONSE_TIMESTAMP: "ai.response.timestamp";
  readonly AI_RESPONSE_CONTENT: "ai.response.content";
  readonly AI_RESPONSE_TEXT: "ai.response.text";
  readonly AI_RESPONSE_OBJECT: "ai.response.object";
  readonly AI_RESPONSE_MODEL: "ai.response.model";
  readonly AI_RESPONSE_TOOL_CALLS: "ai.response.toolCalls";
  readonly AI_PROMPT_MESSAGES: "ai.prompt.messages";
  readonly AI_MODEL_PROVIDER: "ai.model.provider";
  readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
  readonly AI_TELEMETRY_SUB_AGENT_ID: "ai.telemetry.metadata.subAgentId";
  readonly AI_TELEMETRY_SUB_AGENT_NAME: "ai.telemetry.metadata.subAgentName";
  readonly AI_TELEMETRY_METADATA_PHASE: "ai.telemetry.metadata.phase";
  readonly AI_TELEMETRY_GENERATION_TYPE: "ai.telemetry.metadata.generationType";
  readonly AI_TELEMETRY_TENANT_ID: "ai.telemetry.metadata.tenantId";
  readonly AI_TELEMETRY_PROJECT_ID: "ai.telemetry.metadata.projectId";
  readonly AI_TELEMETRY_AGENT_ID: "ai.telemetry.metadata.agentId";
  readonly AI_TELEMETRY_CONVERSATION_ID: "ai.telemetry.metadata.conversationId";
  readonly AI_TELEMETRY_SESSION_ID: "ai.telemetry.metadata.sessionId";
  readonly AI_MODEL_ID: "ai.model.id";
  readonly AI_RESPONSE_FINISH_REASON: "ai.response.finishReason";
  readonly AI_USAGE_PROMPT_TOKENS: "ai.usage.promptTokens";
  readonly AI_USAGE_COMPLETION_TOKENS: "ai.usage.completionTokens";
  readonly AI_TOOL_CALL_NAME: "ai.toolCall.name";
  readonly AI_TOOL_CALL_RESULT: "ai.toolCall.result";
  readonly AI_TOOL_CALL_ARGS: "ai.toolCall.args";
  readonly AI_TOOL_CALL_ID: "ai.toolCall.id";
  readonly AI_TOOL_TYPE: "ai.toolType";
  readonly AI_TOOL_CALL_MCP_SERVER_ID: "ai.toolCall.mcpServerId";
  readonly AI_TOOL_CALL_MCP_SERVER_NAME: "ai.toolCall.mcpServerName";
  readonly TOOL_PURPOSE: "tool.purpose";
  readonly TOOL_NAME: "tool.name";
  readonly TOOL_CALL_ID: "tool.callId";
  readonly TOOL_APPROVAL_REASON: "tool.approval.reason";
  readonly TOOL_RESPONSE_CONTENT: "tool.response.content";
  readonly TOOL_RESPONSE_TIMESTAMP: "tool.response.timestamp";
  readonly GEN_AI_USAGE_INPUT_TOKENS: "gen_ai.usage.input_tokens";
  readonly GEN_AI_USAGE_OUTPUT_TOKENS: "gen_ai.usage.output_tokens";
  readonly GEN_AI_COST_ESTIMATED_USD: "gen_ai.cost.estimated_usd";
  readonly GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS: "gen_ai.usage.cache_read.input_tokens";
  readonly GEN_AI_USAGE_CACHE_CREATION_INPUT_TOKENS: "gen_ai.usage.cache_creation.input_tokens";
  readonly CACHE_INTENT_MARKER_COUNT: "cache.intent.marker_count";
  readonly CACHE_INTENT_PREFIX_SIGNATURE: "cache.intent.prefix_signature";
  readonly CACHE_INTENT_HISTORY_MARKER_COUNT: "cache.intent.history_marker_count";
  readonly GEN_AI_REQUEST_PROVIDER: "gen_ai.request.provider";
  readonly GEN_AI_RESPONSE_PROVIDER: "gen_ai.response.provider";
  readonly CONTEXT_URL: "context.url";
  readonly CONTEXT_CONFIG_ID: "context.context_config_id";
  readonly CONTEXT_AGENT_ID: "context.agent_id";
  readonly CONTEXT_HEADERS_KEYS: "context.headers_keys";
  readonly MESSAGE_ID: "message.id";
  readonly MESSAGE_CONTENT: "message.content";
  readonly MESSAGE_PARTS: "message.parts";
  readonly MESSAGE_TIMESTAMP: "message.timestamp";
  readonly MCP_TOOL_DESCRIPTION: "mcp.tool.description";
  readonly DELEGATION_FROM_SUB_AGENT_ID: "delegation.from_sub_agent_id";
  readonly DELEGATION_TO_SUB_AGENT_ID: "delegation.to_sub_agent_id";
  readonly DELEGATION_ID: "delegation.id";
  readonly DELEGATION_TYPE: "delegation.type";
  readonly TRANSFER_FROM_SUB_AGENT_ID: "transfer.from_sub_agent_id";
  readonly TRANSFER_TO_SUB_AGENT_ID: "transfer.to_sub_agent_id";
  readonly HTTP_URL: "http.url";
  readonly HTTP_STATUS_CODE: "http.status_code";
  readonly HTTP_RESPONSE_BODY_SIZE: "http.response.body_size";
  readonly NAME: "name";
  readonly PARENT_SPAN_ID: "parentSpanID";
  readonly PARENT_SPAN_ID_V5: "parent_span_id";
  readonly CONVERSATION_ID: "conversation.id";
  readonly INVOCATION_TYPE: "invocation.type";
  readonly INVOCATION_ENTRY_POINT: "invocation.entryPoint";
  readonly TRIGGER_ID: "trigger.id";
  readonly TRIGGER_INVOCATION_ID: "trigger.invocation.id";
  readonly TRIGGER_RUN_AS_USER_ID: "trigger.run_as_user_id";
  readonly TRIGGER_BATCH_ID: "trigger.batch_id";
  readonly ARTIFACT_ID: "artifact.id";
  readonly ARTIFACT_TYPE: "artifact.type";
  readonly ARTIFACT_TOOL_CALL_ID: "artifact.tool_call_id";
  readonly ARTIFACT_DATA: "artifact.data";
  readonly ARTIFACT_NAME: "artifact.name";
  readonly ARTIFACT_DESCRIPTION: "artifact.description";
  readonly ARTIFACT_IS_OVERSIZED: "artifact.is_oversized";
  readonly ARTIFACT_RETRIEVAL_BLOCKED: "artifact.retrieval_blocked";
  readonly ARTIFACT_ORIGINAL_TOKEN_SIZE: "artifact.original_token_size";
  readonly ARTIFACT_CONTEXT_WINDOW_SIZE: "artifact.context_window_size";
  readonly CONTEXT_BREAKDOWN_SYSTEM_TEMPLATE: "context.breakdown.system_template_tokens";
  readonly CONTEXT_BREAKDOWN_CORE_INSTRUCTIONS: "context.breakdown.core_instructions_tokens";
  readonly CONTEXT_BREAKDOWN_AGENT_PROMPT: "context.breakdown.agent_prompt_tokens";
  readonly CONTEXT_BREAKDOWN_TOOLS: "context.breakdown.tools_tokens";
  readonly CONTEXT_BREAKDOWN_ARTIFACTS: "context.breakdown.artifacts_tokens";
  readonly CONTEXT_BREAKDOWN_DATA_COMPONENTS: "context.breakdown.data_components_tokens";
  readonly CONTEXT_BREAKDOWN_ARTIFACT_COMPONENTS: "context.breakdown.artifact_components_tokens";
  readonly CONTEXT_BREAKDOWN_TRANSFER_INSTRUCTIONS: "context.breakdown.transfer_instructions_tokens";
  readonly CONTEXT_BREAKDOWN_DELEGATION_INSTRUCTIONS: "context.breakdown.delegation_instructions_tokens";
  readonly CONTEXT_BREAKDOWN_THINKING_PREPARATION: "context.breakdown.thinking_preparation_tokens";
  readonly CONTEXT_BREAKDOWN_CONVERSATION_HISTORY: "context.breakdown.conversation_history_tokens";
  readonly CONTEXT_BREAKDOWN_TOTAL: "context.breakdown.total_tokens";
  readonly CONTEXT_BREAKDOWN_ACTUAL_INPUT_TOKENS: "context.breakdown.actual_input_tokens";
  readonly COMPRESSION_TYPE: "compression.type";
  readonly COMPRESSION_SESSION_ID: "compression.session_id";
  readonly COMPRESSION_MESSAGE_COUNT: "compression.message_count";
  readonly COMPRESSION_BASE_CONTEXT_TOKENS: "compression.base_context_tokens";
  readonly COMPRESSION_GENERATED_TOKENS: "compression.generated_tokens";
  readonly COMPRESSION_TOTAL_CONTEXT_TOKENS: "compression.total_context_tokens";
  readonly COMPRESSION_HARD_LIMIT: "compression.hard_limit";
  readonly COMPRESSION_TRIGGER_AT: "compression.trigger_at";
  readonly COMPRESSION_SAFETY_BUFFER: "compression.safety_buffer";
  readonly COMPRESSION_OVERAGE: "compression.overage";
  readonly COMPRESSION_SUCCESS: "compression.success";
  readonly COMPRESSION_ERROR: "compression.error";
  readonly COMPRESSION_RESULT_ARTIFACT_COUNT: "compression.result.artifact_count";
  readonly COMPRESSION_RESULT_ARTIFACT_IDS: "compression.result.artifact_ids";
  readonly COMPRESSION_RESULT_OUTPUT_TOKENS: "compression.result.output_tokens";
  readonly COMPRESSION_RESULT_COMPRESSION_RATIO: "compression.result.compression_ratio";
  readonly COMPRESSION_RESULT_HIGH_LEVEL: "compression.result.high_level";
  readonly COMPRESSION_RESULT_USER_INTENT: "compression.result.user_intent";
  readonly COMPRESSION_RESULT_DECISIONS_COUNT: "compression.result.decisions_count";
  readonly COMPRESSION_RESULT_NEXT_STEPS_FOR_AGENT_COUNT: "compression.result.next_steps_for_agent_count";
  readonly COMPRESSION_RESULT_OPEN_QUESTIONS_COUNT: "compression.result.open_questions_count";
  readonly COMPRESSION_RESULT_RELATED_ARTIFACT_COUNT: "compression.result.related_artifact_count";
  readonly AGENT_MAX_STEPS_REACHED: "agent.max_steps_reached";
  readonly AGENT_STEPS_COMPLETED: "agent.steps_completed";
  readonly AGENT_MAX_STEPS: "agent.max_steps";
  readonly GENERATION_TIMEOUT_MS: "generation.timeout_ms";
  readonly STREAM_CLEANUP_REASON: "stream.cleanup.reason";
  readonly STREAM_MAX_LIFETIME_MS: "stream.max_lifetime_ms";
  readonly STREAM_BUFFER_SIZE_BYTES: "stream.buffer_size_bytes";
  readonly STREAM_SENT_ITEMS_COUNT: "stream.sent_items_count";
  readonly STREAM_COMPLETED_ITEMS_COUNT: "stream.completed_items_count";
  readonly TTFT_MODEL_TOKEN: "inkeep.agent.time_to_first_model_token";
  readonly TTFT_VISIBLE_TOKEN: "inkeep.agent.time_to_first_visible_token";
  readonly TTFT_VISIBLE_PART: "inkeep.agent.time_to_first_visible_part";
};
declare const UNKNOWN_VALUE: "unknown";
/** Activity Types */
declare const ACTIVITY_TYPES: {
  readonly TOOL_CALL: "tool_call";
  readonly AI_GENERATION: "ai_generation";
  readonly AGENT_GENERATION: "agent_generation";
  readonly CONTEXT_FETCH: "context_fetch";
  readonly CONTEXT_RESOLUTION: "context_resolution";
  readonly USER_MESSAGE: "user_message";
  readonly AI_ASSISTANT_MESSAGE: "ai_assistant_message";
  readonly AI_MODEL_STREAMED_TEXT: "ai_model_streamed_text";
  readonly TOOL_APPROVAL_REQUESTED: "tool_approval_requested";
  readonly TOOL_APPROVAL_APPROVED: "tool_approval_approved";
  readonly TOOL_APPROVAL_DENIED: "tool_approval_denied";
  readonly COMPRESSION: "compression";
  readonly MAX_STEPS_REACHED: "max_steps_reached";
  readonly STREAM_LIFETIME_EXCEEDED: "stream_lifetime_exceeded";
  readonly DURABLE_TOOL_EXECUTION: "durable_tool_execution";
};
/** Activity Status Values */
declare const ACTIVITY_STATUS: {
  readonly SUCCESS: "success";
  readonly ERROR: "error";
  readonly PENDING: "pending";
  readonly WARNING: "warning";
};
/** Generation type constants for usage tracking telemetry */
declare const GENERATION_TYPES: {
  readonly SUB_AGENT_GENERATION: "sub_agent_generation";
  readonly CONVERSATION_COMPRESSION: "conversation_compression";
  readonly MID_GENERATION_COMPRESSION: "mid_generation_compression";
  readonly ARTIFACT_METADATA: "artifact_metadata";
  readonly STATUS_UPDATE: "status_update";
  readonly EVAL_SCORING: "eval_scoring";
  readonly COMPONENT_RENDER: "component_render";
};
/** Valid generation types for usage tracking */
declare const USAGE_GENERATION_TYPES: ("sub_agent_generation" | "conversation_compression" | "mid_generation_compression" | "artifact_metadata" | "status_update" | "eval_scoring" | "component_render")[];
declare const EVAL_GENERATION_TYPES: readonly ["eval_scoring"];
declare const isEvalGenerationType: (generationType: string) => boolean;
declare const NON_EVAL_USAGE_GENERATION_TYPES: ("sub_agent_generation" | "conversation_compression" | "mid_generation_compression" | "artifact_metadata" | "status_update" | "eval_scoring" | "component_render")[];
/** Agent IDs */
declare const AGENT_IDS: {
  readonly USER: "user";
  readonly AI_ASSISTANT: "ai-assistant";
};
/** Activity Names */
declare const ACTIVITY_NAMES: {
  readonly CONTEXT_FETCH: "Context Fetch";
  readonly USER_MESSAGE: "User Message";
  readonly AI_ASSISTANT_MESSAGE: "AI Assistant Message";
  readonly AI_TEXT_GENERATION: "AI Text Generation";
  readonly AI_STREAMING_TEXT: "AI Streaming Text";
  readonly UNKNOWN_AGENT: "Unknown Agent";
  readonly USER: "User";
};
/** AI Tool Types */
declare const AI_TOOL_TYPES: {
  readonly MCP: "mcp";
  readonly TRANSFER: "transfer";
  readonly DELEGATION: "delegation";
};
//#endregion
export { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AI_OPERATIONS, AI_TOOL_TYPES, DELEGATION_FROM_SUB_AGENT_ID, DELEGATION_ID, DELEGATION_TO_SUB_AGENT_ID, EVAL_GENERATION_TYPES, GENERATION_TYPES, NON_EVAL_USAGE_GENERATION_TYPES, SPAN_KEYS, SPAN_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE, USAGE_GENERATION_TYPES, isEvalGenerationType };