//#region src/constants/signoz-queries.d.ts
declare const REQUEST_TYPES: {
  readonly SCALAR: "scalar";
  readonly TIME_SERIES: "time_series";
  readonly RAW: "raw";
  readonly TRACE: "trace";
};
declare const QUERY_TYPES: {
  readonly BUILDER_QUERY: "builder_query";
  readonly BUILDER_TRACE_OPERATOR: "builder_trace_operator";
};
declare const FIELD_CONTEXTS: {
  readonly RESOURCE: "resource";
  readonly ATTRIBUTE: "attribute";
  readonly SPAN: "span";
};
declare const FIELD_DATA_TYPES: {
  readonly STRING: "string";
  readonly INT64: "int64";
  readonly FLOAT64: "float64";
  readonly BOOL: "bool";
};
declare const SIGNALS: {
  readonly TRACES: "traces";
};
declare function buildFilterExpression(items: Array<{
  key: string;
  op: string;
  value: unknown;
}>): string;
declare function buildOrExpression(items: Array<{
  key: string;
  op: string;
  value: unknown;
}>): string;
/** Query Operators */
declare const OPERATORS: {
  readonly EQUALS: "=";
  readonly NOT_EQUALS: "!=";
  readonly LESS_THAN: "<";
  readonly GREATER_THAN: ">";
  readonly LESS_THAN_OR_EQUAL: "<=";
  readonly GREATER_THAN_OR_EQUAL: ">=";
  readonly LIKE: "like";
  readonly NOT_LIKE: "nlike";
  readonly CONTAINS: "contains";
  readonly NOT_CONTAINS: "ncontains";
  readonly REGEX: "regex";
  readonly NOT_REGEX: "nregex";
  readonly EXISTS: "exists";
  readonly NOT_EXISTS: "nexists";
  readonly IN: "in";
  readonly NOT_IN: "nin";
};
/** Query Expressions */
declare const QUERY_EXPRESSIONS: {
  readonly SPAN_NAMES: "spanNames";
  readonly AGENT_MODEL_CALLS: "agentModelCalls";
  readonly MODEL_CALLS: "modelCalls";
  readonly LAST_ACTIVITY: "lastActivity";
  readonly CONVERSATION_METADATA: "conversationMetadata";
  readonly PAGE_CONVERSATIONS: "pageConversations";
  readonly TOTAL_CONVERSATIONS: "totalConversations";
  readonly TOOLS: "tools";
  readonly USER_MESSAGES: "userMessages";
  readonly UNIQUE_AGENTS: "uniqueAgents";
  readonly UNIQUE_MODELS: "uniqueModels";
  readonly TOOL_CALLS: "toolCalls";
  readonly AI_ASSISTANT_MESSAGES: "aiAssistantMessages";
  readonly CONTEXT_FETCHERS: "contextFetchers";
  readonly DURATION_SPANS: "durationSpans";
  readonly AGENT_GENERATIONS: "agentGenerations";
  readonly SPANS_WITH_ERRORS: "spansWithErrors";
  readonly ARTIFACT_PROCESSING: "artifactProcessing";
  readonly TOOL_APPROVALS: "toolApprovals";
  readonly CONTEXT_RESOLUTION_AND_HANDLE: "contextResolutionAndHandle";
  readonly AI_LLM_CALLS: "aiLlmCalls";
  readonly COMPRESSION: "compression";
  readonly MAX_STEPS_REACHED: "maxStepsReached";
  readonly STREAM_LIFETIME_EXCEEDED: "streamLifetimeExceeded";
  readonly DURABLE_TOOL_EXECUTIONS: "durableToolExecutions";
  readonly USAGE_EVENTS: "usageEvents";
  readonly AGG_TOOL_CALLS_BY_TYPE: "aggToolCallsByType";
  readonly AGG_AI_CALLS: "aggAICalls";
  readonly PAGE_CONVERSATIONS_BASE: "pageConversationsBase";
  readonly SPAN_FILTER_BASE: "spanFilterBase";
};
/** Query Order Directions */
declare const ORDER_DIRECTIONS: {
  readonly ASC: "asc";
  readonly DESC: "desc";
};
/** Query Default Values */
declare const QUERY_DEFAULTS: {
  readonly STEP_INTERVAL: 60;
  readonly DISABLED: false;
  readonly LIMIT_UNLIMITED: 10000;
  readonly CONVERSATION_ACTIVITY_PAGE_SIZE: 10000;
  readonly CONVERSATION_ACTIVITY_MAX_PAGES: 10;
};
//#endregion
export { FIELD_CONTEXTS, FIELD_DATA_TYPES, OPERATORS, ORDER_DIRECTIONS, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_TYPES, REQUEST_TYPES, SIGNALS, buildFilterExpression, buildOrExpression };