import { GetSpanType } from './factory';
type Name = Spans['name'];
export type SpanOf<T extends Name> = Extract<Spans, {
    name: T;
}>;
export type Spans = {
    [K in keyof typeof Spans]: GetSpanType<(typeof Spans)[K]>;
}[keyof typeof Spans];
export declare const Spans: {
    readonly IncomingRequestSpan: {
        readonly name: "request.incoming";
        readonly importance: "high";
        readonly attributes: {
            readonly 'request.operation': {
                readonly type: "enum";
                readonly enum: readonly ["register", "event_received", "ping", "action_triggered"];
                readonly description: "The operation being performed";
                readonly title: "Operation";
                readonly required: true;
            };
            readonly 'request.type': {
                readonly type: "string";
                readonly description: "The request type (e.g., message_created)";
                readonly title: "Request Type";
            };
            readonly 'request.method': {
                readonly type: "enum";
                readonly enum: readonly ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"];
                readonly description: "The HTTP method";
                readonly title: "HTTP Method";
                readonly required: true;
            };
            readonly 'request.path': {
                readonly type: "string";
                readonly description: "The request path";
                readonly title: "Request Path";
                readonly required: true;
            };
            readonly botId: {
                readonly type: "string";
                readonly description: "The bot ID";
                readonly title: "Bot ID";
                readonly required: true;
            };
            readonly webhookId: {
                readonly type: "string";
                readonly description: "The webhook ID if applicable";
                readonly title: "Webhook ID";
            };
            readonly 'memory.rss': {
                readonly type: "number";
                readonly description: "The resident set size memory usage in bytes";
                readonly title: "Memory RSS (bytes)";
            };
            readonly 'memory.heapTotal': {
                readonly type: "number";
                readonly description: "The total heap size memory usage in bytes";
                readonly title: "Memory Heap Total (bytes)";
            };
            readonly 'cpu.count': {
                readonly type: "number";
                readonly description: "The number of CPU cores";
                readonly title: "CPU Count";
                readonly required: true;
            };
            readonly 'requests.total': {
                readonly type: "number";
                readonly description: "The total number of requests handled by the process";
                readonly title: "Total Requests";
                readonly required: true;
            };
        };
    };
    readonly CognitiveSpan: {
        readonly name: "cognitive.request";
        readonly importance: "high";
        readonly attributes: {
            readonly 'ai.model': {
                readonly type: "string";
                readonly description: "The AI model used for the request";
                readonly title: "AI Model";
            };
            readonly 'ai.provider': {
                readonly type: "string";
                readonly description: "The AI provider used for the request";
                readonly title: "AI Provider";
            };
            readonly 'ai.temperature': {
                readonly type: "number";
                readonly description: "The temperature setting for the AI model";
                readonly title: "AI Temperature";
            };
            readonly 'ai.max_tokens': {
                readonly type: "number";
                readonly description: "The maximum number of tokens to generate";
                readonly title: "AI Max Tokens";
            };
            readonly 'ai.top_p': {
                readonly type: "number";
                readonly description: "The top_p (nucleus sampling) parameter";
                readonly title: "AI Top P";
            };
            readonly 'ai.system_length': {
                readonly type: "number";
                readonly description: "The length of the system prompt in characters";
                readonly title: "AI System Prompt Length";
            };
            readonly 'ai.messages_count': {
                readonly type: "number";
                readonly description: "The number of messages in the conversation";
                readonly title: "AI Messages Count";
            };
            readonly 'ai.input_length': {
                readonly type: "number";
                readonly description: "The total length of input messages in characters";
                readonly title: "AI Input Length";
            };
            readonly 'ai.input_tokens': {
                readonly type: "number";
                readonly description: "The number of input tokens used for the request";
                readonly title: "AI Input Tokens";
            };
            readonly 'ai.output_tokens': {
                readonly type: "number";
                readonly description: "The number of output tokens used for the request";
                readonly title: "AI Output Tokens";
            };
            readonly 'ai.cost_input': {
                readonly type: "number";
                readonly description: "The cost of input tokens in USD";
                readonly title: "AI Input Cost (USD)";
            };
            readonly 'ai.cost_output': {
                readonly type: "number";
                readonly description: "The cost of output tokens in USD";
                readonly title: "AI Output Cost (USD)";
            };
            readonly 'ai.cost': {
                readonly type: "number";
                readonly description: "The total cost of the request in USD";
                readonly title: "AI Cost (USD)";
            };
            readonly 'ai.cached': {
                readonly type: "boolean";
                readonly description: "Whether the response was served from cache";
                readonly title: "AI Cached";
            };
            readonly 'ai.prompt_category': {
                readonly type: "string";
                readonly description: "The category of the prompt";
                readonly title: "AI Prompt Category";
            };
            readonly 'ai.prompt_source': {
                readonly type: "string";
                readonly description: "The source of the prompt";
                readonly title: "AI Prompt Source";
            };
            readonly 'ai.instructions': {
                readonly type: "string";
                readonly description: "The system prompt/instructions for the AI model";
                readonly title: "AI Instructions";
            };
            readonly 'ai.tools': {
                readonly type: "json";
                readonly description: "The tools available to the AI model";
                readonly title: "AI Tools";
            };
        };
    };
    readonly HttpSpan: {
        readonly name: "http.client";
        readonly importance: "medium";
        readonly attributes: {
            readonly 'http.method': {
                readonly type: "enum";
                readonly enum: readonly ["GET", "POST", "PUT", "OPTIONS", "DELETE"];
                readonly required: true;
            };
            readonly 'http.url': {
                readonly type: "string";
                readonly required: true;
            };
            readonly 'http.query': {
                readonly type: "json";
            };
            readonly 'http.request.headers': {
                readonly type: "json";
            };
            readonly 'http.response.headers': {
                readonly type: "json";
            };
            readonly 'http.request.body': {
                readonly type: "string";
            };
            readonly 'http.response.body': {
                readonly type: "string";
            };
            readonly 'http.status_code': {
                readonly type: "number";
            };
            readonly 'http.error': {
                readonly type: "string";
            };
            readonly 'http.via': {
                readonly type: "enum";
                readonly enum: readonly ["http", "undici"];
                readonly required: true;
            };
            readonly 'trace.traceparent': {
                readonly type: "string";
            };
        };
    };
    readonly BotpressClientSpan: {
        readonly name: "botpress.client";
        readonly importance: "medium";
        readonly attributes: {
            readonly conversationId: {
                readonly type: "string";
                readonly description: "The current conversation the execution is part of";
                readonly title: "Conversation ID";
                readonly default: "";
            };
            readonly workflowId: {
                readonly type: "string";
                readonly description: "The current workflow the execution is part of";
                readonly title: "Workflow ID";
            };
            readonly eventId: {
                readonly type: "string";
                readonly description: "The current incoming event the execution is part of";
                readonly title: "Workflow ID";
            };
            readonly userId: {
                readonly type: "string";
                readonly description: "The user attached to the event/message of the execution";
                readonly title: "User ID";
            };
            readonly messageId: {
                readonly type: "string";
                readonly description: "The message attached to the event/message of the execution";
                readonly title: "Message ID";
            };
            readonly 'action.name': {
                readonly type: "string";
                readonly description: "The name of the action being called";
                readonly title: "Action Name";
            };
            readonly 'botpress.method': {
                readonly type: "enum";
                readonly enum: readonly ["GET", "POST", "PUT", "OPTIONS", "DELETE"];
                readonly required: true;
            };
            readonly 'botpress.url': {
                readonly type: "string";
            };
            readonly 'botpress.status_code': {
                readonly type: "number";
                readonly default: "";
            };
            readonly 'botpress.duration_ms': {
                readonly type: "number";
            };
            readonly 'botpress.error': {
                readonly type: "string";
            };
            readonly 'botpress.via': {
                readonly type: "string";
            };
            readonly 'botpress.request.body': {
                readonly type: "string";
            };
            readonly 'botpress.response.body': {
                readonly type: "string";
            };
            readonly 'trace.traceparent': {
                readonly type: "string";
            };
        };
    };
    readonly ConversationHandlerSpan: {
        readonly name: "handler.conversation";
        readonly importance: "high";
        readonly attributes: {
            readonly userId: {
                readonly type: "string";
                readonly description: "The user attached to the event/message of the execution";
                readonly title: "User ID";
            };
            readonly messageId: {
                readonly type: "string";
                readonly description: "The message attached to the event/message of the execution";
                readonly title: "Message ID";
            };
            readonly 'message.type': {
                readonly type: "string";
                readonly description: "The type of the message received";
                readonly title: "Message Type";
            };
            readonly 'event.payload': {
                readonly type: "json";
                readonly description: "The payload of the event received";
                readonly title: "Event Payload";
            };
            readonly 'message.payload': {
                readonly type: "json";
                readonly description: "The payload of the message received";
                readonly title: "Message Payload";
            };
            readonly conversationId: Omit<{
                readonly type: "string";
                readonly description: "The current conversation the execution is part of";
                readonly title: "Conversation ID";
                readonly default: "";
            }, "required"> & {
                required: true;
            };
            readonly eventId: Omit<{
                readonly type: "string";
                readonly description: "The current incoming event the execution is part of";
                readonly title: "Workflow ID";
            }, "required"> & {
                required: true;
            };
            readonly botId: Omit<{
                readonly type: "string";
                readonly description: "The bot running the execution";
                readonly title: "Bot ID";
            }, "required"> & {
                required: true;
            };
            readonly 'event.type': Omit<{
                readonly type: "string";
                readonly description: "The type of the event the execution is part of";
                readonly title: "Event Type";
            }, "required"> & {
                required: true;
            };
            readonly integration: Omit<{
                readonly type: "string";
                readonly description: "The integration originating the event";
                readonly title: "Integration";
            }, "required"> & {
                required: true;
            };
            readonly channel: Omit<{
                readonly type: "string";
                readonly description: "The integration channel originating the event";
                readonly title: "Channel";
            }, "required"> & {
                required: true;
            };
        };
    };
    readonly TriggerHandlerSpan: {
        readonly name: "handler.trigger";
        readonly importance: "high";
        readonly attributes: {
            readonly conversationId: {
                readonly type: "string";
                readonly description: "The current conversation the execution is part of";
                readonly title: "Conversation ID";
                readonly default: "";
            };
            readonly workflowId: {
                readonly type: "string";
                readonly description: "The current workflow the execution is part of";
                readonly title: "Workflow ID";
            };
            readonly userId: {
                readonly type: "string";
                readonly description: "The user attached to the event/message of the execution";
                readonly title: "User ID";
            };
            readonly messageId: {
                readonly type: "string";
                readonly description: "The message attached to the event/message of the execution";
                readonly title: "Message ID";
            };
            readonly parentWorkflowId: {
                readonly type: "string";
                readonly description: "The parent workflow the execution is part of";
                readonly title: "Parent Workflow ID";
            };
            readonly integration: {
                readonly type: "string";
                readonly description: "The integration originating the event";
                readonly title: "Integration";
            };
            readonly channel: {
                readonly type: "string";
                readonly description: "The integration channel originating the event";
                readonly title: "Channel";
            };
            readonly eventId: Omit<{
                readonly type: "string";
                readonly description: "The current incoming event the execution is part of";
                readonly title: "Workflow ID";
            }, "required"> & {
                required: true;
            };
            readonly botId: Omit<{
                readonly type: "string";
                readonly description: "The bot running the execution";
                readonly title: "Bot ID";
            }, "required"> & {
                required: true;
            };
            readonly 'event.type': Omit<{
                readonly type: "string";
                readonly description: "The type of the event the execution is part of";
                readonly title: "Event Type";
            }, "required"> & {
                required: true;
            };
        };
    };
    readonly WorkflowHandlerSpan: {
        readonly name: "handler.workflow";
        readonly importance: "high";
        readonly attributes: {
            readonly 'workflow.name': {
                readonly type: "string";
            };
            readonly 'workflow.status.initial': {
                readonly type: "enum";
                readonly enum: readonly ["pending", "in_progress", "listening", "paused", "completed", "failed", "timedout", "cancelled"];
            };
            readonly 'workflow.status.final': {
                readonly type: "enum";
                readonly enum: readonly ["continue", "completed", "failed"];
            };
            readonly conversationId: {
                readonly type: "string";
                readonly description: "The current conversation the execution is part of";
                readonly title: "Conversation ID";
                readonly default: "";
            };
            readonly userId: {
                readonly type: "string";
                readonly description: "The user attached to the event/message of the execution";
                readonly title: "User ID";
            };
            readonly messageId: {
                readonly type: "string";
                readonly description: "The message attached to the event/message of the execution";
                readonly title: "Message ID";
            };
            readonly parentWorkflowId: {
                readonly type: "string";
                readonly description: "The parent workflow the execution is part of";
                readonly title: "Parent Workflow ID";
            };
            readonly integration: {
                readonly type: "string";
                readonly description: "The integration originating the event";
                readonly title: "Integration";
            };
            readonly channel: {
                readonly type: "string";
                readonly description: "The integration channel originating the event";
                readonly title: "Channel";
            };
            readonly workflowId: Omit<{
                readonly type: "string";
                readonly description: "The current workflow the execution is part of";
                readonly title: "Workflow ID";
            }, "required"> & {
                required: true;
            };
            readonly eventId: Omit<{
                readonly type: "string";
                readonly description: "The current incoming event the execution is part of";
                readonly title: "Workflow ID";
            }, "required"> & {
                required: true;
            };
            readonly botId: Omit<{
                readonly type: "string";
                readonly description: "The bot running the execution";
                readonly title: "Bot ID";
            }, "required"> & {
                required: true;
            };
            readonly 'event.type': Omit<{
                readonly type: "string";
                readonly description: "The type of the event the execution is part of";
                readonly title: "Event Type";
            }, "required"> & {
                required: true;
            };
        };
    };
    readonly WorkflowStepSpan: {
        readonly name: "handler.workflow.step";
        readonly importance: "high";
        readonly attributes: {
            readonly 'workflow.step': {
                readonly type: "string";
                readonly required: true;
            };
            readonly 'workflow.step.type': {
                readonly type: "string";
                readonly required: true;
            };
            readonly 'workflow.step.attempt': {
                readonly type: "number";
                readonly required: true;
            };
            readonly 'workflow.step.output': {
                readonly type: "json";
            };
            readonly 'workflow.step.max_attempts': {
                readonly type: "number";
            };
            readonly 'workflow.step.error': {
                readonly type: "string";
            };
            readonly workflowId: Omit<{
                readonly type: "string";
                readonly description: "The current workflow the execution is part of";
                readonly title: "Workflow ID";
            }, "required"> & {
                required: true;
            };
        };
    };
    readonly ActionHandlerSpan: {
        readonly name: "handler.action";
        readonly importance: "high";
        readonly attributes: {
            readonly 'action.name': {
                readonly type: "string";
                readonly required: true;
            };
            readonly 'action.input': {
                readonly type: "json";
                readonly required: true;
            };
            readonly conversationId: {
                readonly type: "string";
                readonly description: "The current conversation the execution is part of";
                readonly title: "Conversation ID";
                readonly default: "";
            };
            readonly userId: {
                readonly type: "string";
                readonly description: "The user attached to the event/message of the execution";
                readonly title: "User ID";
            };
            readonly messageId: {
                readonly type: "string";
                readonly description: "The message attached to the event/message of the execution";
                readonly title: "Message ID";
            };
            readonly parentWorkflowId: {
                readonly type: "string";
                readonly description: "The parent workflow the execution is part of";
                readonly title: "Parent Workflow ID";
            };
            readonly integration: {
                readonly type: "string";
                readonly description: "The integration originating the event";
                readonly title: "Integration";
            };
            readonly channel: {
                readonly type: "string";
                readonly description: "The integration channel originating the event";
                readonly title: "Channel";
            };
            readonly workflowId: Omit<{
                readonly type: "string";
                readonly description: "The current workflow the execution is part of";
                readonly title: "Workflow ID";
            }, "required"> & {
                required: true;
            };
            readonly eventId: Omit<{
                readonly type: "string";
                readonly description: "The current incoming event the execution is part of";
                readonly title: "Workflow ID";
            }, "required"> & {
                required: true;
            };
            readonly botId: Omit<{
                readonly type: "string";
                readonly description: "The bot running the execution";
                readonly title: "Bot ID";
            }, "required"> & {
                required: true;
            };
            readonly 'event.type': Omit<{
                readonly type: "string";
                readonly description: "The type of the event the execution is part of";
                readonly title: "Event Type";
            }, "required"> & {
                required: true;
            };
        };
    };
    readonly EventHandlerSpan: {
        readonly name: "handler.event";
        readonly importance: "high";
        readonly attributes: {
            readonly conversationId: {
                readonly type: "string";
                readonly description: "The current conversation the execution is part of";
                readonly title: "Conversation ID";
                readonly default: "";
            };
            readonly workflowId: {
                readonly type: "string";
                readonly description: "The current workflow the execution is part of";
                readonly title: "Workflow ID";
            };
            readonly userId: {
                readonly type: "string";
                readonly description: "The user attached to the event/message of the execution";
                readonly title: "User ID";
            };
            readonly messageId: {
                readonly type: "string";
                readonly description: "The message attached to the event/message of the execution";
                readonly title: "Message ID";
            };
            readonly parentWorkflowId: {
                readonly type: "string";
                readonly description: "The parent workflow the execution is part of";
                readonly title: "Parent Workflow ID";
            };
            readonly integration: {
                readonly type: "string";
                readonly description: "The integration originating the event";
                readonly title: "Integration";
            };
            readonly channel: {
                readonly type: "string";
                readonly description: "The integration channel originating the event";
                readonly title: "Channel";
            };
            readonly eventId: Omit<{
                readonly type: "string";
                readonly description: "The current incoming event the execution is part of";
                readonly title: "Workflow ID";
            }, "required"> & {
                required: true;
            };
            readonly botId: Omit<{
                readonly type: "string";
                readonly description: "The bot running the execution";
                readonly title: "Bot ID";
            }, "required"> & {
                required: true;
            };
            readonly 'event.type': Omit<{
                readonly type: "string";
                readonly description: "The type of the event the execution is part of";
                readonly title: "Event Type";
            }, "required"> & {
                required: true;
            };
        };
    };
    readonly AutonomousExecutionSpan: {
        readonly name: "autonomous.execution";
        readonly importance: "high";
        readonly attributes: {
            readonly 'autonomous.max_loops': {
                readonly type: "number";
                readonly title: "Max Loops";
                readonly description: "The maximum number of loops allowed";
                readonly required: true;
            };
            readonly 'autonomous.mode': {
                readonly type: "enum";
                readonly title: "Mode";
                readonly description: "The mode LLMz is running in (chat or worker)";
                readonly enum: readonly ["chat", "worker"];
                readonly required: true;
            };
            readonly 'autonomous.message_types': {
                readonly type: "json";
                readonly title: "Message Types";
                readonly description: "The types of messages LLMz can send";
            };
            readonly 'autonomous.iterations': {
                readonly type: "number";
                readonly title: "Iterations";
                readonly description: "The number of iterations performed";
            };
            readonly 'autonomous.execution_id': {
                readonly type: "string";
                readonly title: "Execution ID";
                readonly description: "The unique ID for this execution";
            };
        };
    };
    readonly AutonomousIterationSpan: {
        readonly name: "autonomous.iteration";
        readonly importance: "high";
        readonly attributes: {
            readonly 'autonomous.iteration': {
                readonly type: "number";
                readonly title: "Iteration";
                readonly description: "The current iteration number";
                readonly required: true;
            };
            readonly 'autonomous.instructions': {
                readonly type: "string";
                readonly title: "Instructions";
                readonly description: "The instructions provided to the agent";
            };
            readonly 'autonomous.exits': {
                readonly type: "json";
                readonly title: "Exits";
                readonly description: "The possible exit points for the agent";
            };
            readonly 'autonomous.code': {
                readonly type: "string";
                readonly title: "Code";
                readonly description: "The code generated in this iteration";
            };
            readonly 'autonomous.tools': {
                readonly type: "json";
                readonly title: "Tools";
                readonly description: "The tools available to the agent";
            };
            readonly 'autonomous.thoughts': {
                readonly type: "string";
                readonly title: "Thoughts";
                readonly description: "The thoughts generated in this iteration";
            };
            readonly 'autonomous.status': {
                readonly type: "enum";
                readonly enum: ["pending", "generation_error", "execution_error", "invalid_code_error", "thinking_requested", "callback_requested", "exit_success", "exit_error", "aborted"];
                readonly title: "Error Type";
                readonly description: "The type of error encountered, if any";
            };
            readonly 'autonomous.error': {
                readonly type: "string";
                readonly title: "Error Message";
                readonly description: "The error message, if any";
            };
            readonly 'autonomous.exit.name': {
                readonly type: "string";
                readonly title: "Exit Name";
                readonly description: "The name of the exit point if exiting";
            };
            readonly 'autonomous.exit.value': {
                readonly type: "json";
                readonly title: "Exit Value";
                readonly description: "The value returned upon exit";
            };
            readonly 'ai.model': {
                readonly type: "string";
                readonly title: "AI Model";
                readonly description: "The AI model used for this iteration";
            };
            readonly 'ai.tokens': {
                readonly type: "number";
                readonly title: "Input Tokens";
                readonly description: "Number of input tokens used";
            };
            readonly 'ai.cost': {
                readonly type: "number";
                readonly title: "Cost";
                readonly description: "Total cost of this iteration in USD";
            };
        };
    };
    readonly AutonomousToolSpan: {
        readonly name: "autonomous.tool";
        readonly importance: "high";
        readonly attributes: {
            readonly 'autonomous.tool.object': {
                readonly type: "string";
                readonly title: "Object Name";
                readonly description: "The name of the object being used";
                readonly required: false;
            };
            readonly 'autonomous.tool.name': {
                readonly type: "string";
                readonly title: "Tool Name";
                readonly description: "The name of the tool being used";
                readonly required: true;
            };
            readonly 'autonomous.tool.input': {
                readonly type: "json";
                readonly title: "Tool Input";
                readonly description: "The input provided to the tool";
            };
            readonly 'autonomous.tool.output': {
                readonly type: "json";
                readonly title: "Tool Output";
                readonly description: "The output returned by the tool";
            };
            readonly 'autonomous.tool.status': {
                readonly type: "enum";
                readonly enum: readonly ["think", "success", "error"];
                readonly title: "Tool Status";
                readonly description: "The status of the tool execution";
            };
            readonly 'autonomous.tool.error': {
                readonly type: "string";
                readonly title: "Tool Error";
                readonly description: "The error message if the tool failed";
            };
        };
    };
    readonly InterruptionCheckSpan: {
        readonly name: "interruption.check";
        readonly importance: "medium";
        readonly attributes: {
            readonly 'interruption.detected': {
                readonly type: "boolean";
                readonly title: "Interruption Detected";
                readonly description: "Whether an interruption was detected";
            };
            readonly 'interruption.events_count': {
                readonly type: "number";
                readonly title: "New Events Count";
                readonly description: "The number of new events detected";
            };
            readonly 'interruption.event_ids': {
                readonly type: "json";
                readonly title: "New Event IDs";
                readonly description: "The IDs of the new events that caused the interruption";
            };
            readonly conversationId: Omit<{
                readonly type: "string";
                readonly description: "The current conversation the execution is part of";
                readonly title: "Conversation ID";
                readonly default: "";
            }, "required"> & {
                required: true;
            };
        };
    };
    readonly ChatFetchTranscriptSpan: {
        readonly name: "chat.fetchTranscript";
        readonly importance: "medium";
        readonly attributes: {
            readonly conversationId: Omit<{
                readonly type: "string";
                readonly description: "The current conversation the execution is part of";
                readonly title: "Conversation ID";
                readonly default: "";
            }, "required"> & {
                required: true;
            };
        };
    };
    readonly ChatCompactTranscriptSpan: {
        readonly name: "chat.compactTranscript";
        readonly importance: "medium";
        readonly attributes: {
            readonly conversationId: Omit<{
                readonly type: "string";
                readonly description: "The current conversation the execution is part of";
                readonly title: "Conversation ID";
                readonly default: "";
            }, "required"> & {
                required: true;
            };
        };
    };
    readonly ChatSaveTranscriptSpan: {
        readonly name: "chat.saveTranscript";
        readonly importance: "medium";
        readonly attributes: {
            readonly conversationId: Omit<{
                readonly type: "string";
                readonly description: "The current conversation the execution is part of";
                readonly title: "Conversation ID";
                readonly default: "";
            }, "required"> & {
                required: true;
            };
        };
    };
    readonly ChatSendMessageSpan: {
        readonly name: "chat.sendMessage";
        readonly importance: "high";
        readonly attributes: {
            readonly 'message.type': {
                readonly type: "string";
                readonly description: "The type of message being sent";
                readonly title: "Message Type";
            };
            readonly direction: {
                readonly type: "enum";
                readonly enum: readonly ["incoming", "outgoing"];
                readonly description: "The direction of the message";
                readonly title: "Direction";
            };
            readonly userId: {
                readonly type: "string";
                readonly description: "The user attached to the event/message of the execution";
                readonly title: "User ID";
            };
            readonly messageId: {
                readonly type: "string";
                readonly description: "The message attached to the event/message of the execution";
                readonly title: "Message ID";
            };
            readonly botId: {
                readonly type: "string";
                readonly description: "The bot running the execution";
                readonly title: "Bot ID";
            };
            readonly integration: {
                readonly type: "string";
                readonly description: "The integration originating the event";
                readonly title: "Integration";
            };
            readonly channel: {
                readonly type: "string";
                readonly description: "The integration channel originating the event";
                readonly title: "Channel";
            };
            readonly conversationId: Omit<{
                readonly type: "string";
                readonly description: "The current conversation the execution is part of";
                readonly title: "Conversation ID";
                readonly default: "";
            }, "required"> & {
                required: true;
            };
        };
    };
    readonly TrackedStateLoadSpan: {
        readonly name: "state.load";
        readonly importance: "medium";
        readonly attributes: {
            readonly type: {
                readonly type: "enum";
                readonly enum: readonly ["bot", "user", "conversation", "workflow"];
                readonly description: "The type of state being loaded";
                readonly title: "State Type";
                readonly required: true;
            };
            readonly name: {
                readonly type: "string";
                readonly description: "The name of the state";
                readonly title: "State Name";
                readonly required: true;
            };
            readonly location: {
                readonly type: "enum";
                readonly enum: readonly ["state", "file"];
                readonly description: "Where the state is stored";
                readonly title: "Storage Location";
            };
            readonly has_value: {
                readonly type: "boolean";
                readonly description: "Whether the state has a value";
                readonly title: "Has Value";
            };
        };
    };
    readonly TrackedStateSaveSpan: {
        readonly name: "state.save";
        readonly importance: "medium";
        readonly attributes: {
            readonly type: {
                readonly type: "enum";
                readonly enum: readonly ["bot", "user", "conversation", "workflow"];
                readonly description: "The type of state being saved";
                readonly title: "State Type";
                readonly required: true;
            };
            readonly name: {
                readonly type: "string";
                readonly description: "The name of the state";
                readonly title: "State Name";
                readonly required: true;
            };
            readonly state_size_bytes: {
                readonly type: "number";
                readonly description: "The size of the state in bytes";
                readonly title: "State Size (bytes)";
            };
            readonly swapped_to_file: {
                readonly type: "boolean";
                readonly description: "Whether the state was swapped to a file";
                readonly title: "Swapped to File";
            };
        };
    };
    readonly TrackedStateSaveAllDirtySpan: {
        readonly name: "state.saveAllDirty";
        readonly importance: "medium";
        readonly attributes: {
            readonly states_count: {
                readonly type: "number";
                readonly description: "The number of dirty states being saved";
                readonly title: "States Count";
                readonly required: true;
            };
            readonly states: {
                readonly type: "json";
                readonly description: "The list of states being saved (type/id/name)";
                readonly title: "States";
            };
        };
    };
    readonly TrackedStateLoadAllSpan: {
        readonly name: "state.loadAll";
        readonly importance: "medium";
        readonly attributes: {};
    };
};
export type { WellKnownAttributeName } from './well-known-attributes';
export type { SpanImportanceLevel } from './factory';
//# sourceMappingURL=index.d.ts.map